From: curt Date: Mon, 21 Jul 1997 21:20:28 +0000 (+0000) Subject: Eliminated some harmless compiler warnings. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6d4c38a3c8625c4722acca087f2281ef15e18b56;p=simgear.git Eliminated some harmless compiler warnings. --- diff --git a/Math/MAT3geom.c b/Math/MAT3geom.c index 76ebe2e5..fc3000e9 100644 --- a/Math/MAT3geom.c +++ b/Math/MAT3geom.c @@ -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); } diff --git a/Math/MAT3mat.c b/Math/MAT3mat.c index 0e1ea559..04af46b5 100644 --- a/Math/MAT3mat.c +++ b/Math/MAT3mat.c @@ -5,6 +5,7 @@ * This file contains routines that operate solely on matrices. * -------------------------------------------------------------------------*/ +#include #include "mat3defs.h" /* #include "macros.h" */