Eliminated some harmless compiler warnings.

This commit is contained in:
curt 1997-07-21 21:20:28 +00:00
parent b6ec5707e8
commit 6d4c38a3c8
2 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,9 @@ register MAT3mat result_mat, mat;
MAT3direction_matrix(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); return(ret);
} }

View File

@ -5,6 +5,7 @@
* This file contains routines that operate solely on matrices. * This file contains routines that operate solely on matrices.
* -------------------------------------------------------------------------*/ * -------------------------------------------------------------------------*/
#include <string.h>
#include "mat3defs.h" #include "mat3defs.h"
/* #include "macros.h" */ /* #include "macros.h" */