]> git.mxchange.org Git - simgear.git/commitdiff
Eliminated some harmless compiler warnings.
authorcurt <curt>
Mon, 21 Jul 1997 21:20:28 +0000 (21:20 +0000)
committercurt <curt>
Mon, 21 Jul 1997 21:20:28 +0000 (21:20 +0000)
Math/MAT3geom.c
Math/MAT3mat.c

index 76ebe2e57195fde8ec9a6ff353159a8d2fec755b..fc3000e920132c2116024901e4ef02124f283847 100644 (file)
@@ -53,7 +53,9 @@ register MAT3mat result_mat, mat;
 
    MAT3direction_matrix(result_mat, mat);
 
-   if (ret = MAT3invert(tmp_mat, tmp_mat)) MAT3transpose(result_mat, tmp_mat);
+   if ( (ret = MAT3invert(tmp_mat, tmp_mat)) ) {
+       MAT3transpose(result_mat, tmp_mat);
+   }
 
    return(ret);
 }
index 0e1ea559b00c89bb9aa11f95a318db8c0af4f340..04af46b54c49c90dedbd643018411474b8ae2f2a 100644 (file)
@@ -5,6 +5,7 @@
  * This file contains routines that operate solely on matrices.
  * -------------------------------------------------------------------------*/
 
+#include <string.h>
 #include "mat3defs.h"
 
 /* #include "macros.h" */