[opengtl-commits] [394] compilation fix for release mode |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 394
Author: cyrille
Date: 2008-09-14 09:55:54 +0200 (Sun, 14 Sep 2008)
Log Message:
-----------
compilation fix for release mode
Modified Paths:
--------------
trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp
trunk/OpenGTL/OpenGTL/GTLCore/Debug.h
Modified: trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp
===================================================================
--- trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp 2008-09-14 07:49:17 UTC (rev 393)
+++ trunk/OpenGTL/OpenCTL/tools/benchmark/CtlBenchmark.cpp 2008-09-14 07:55:54 UTC (rev 394)
@@ -59,8 +59,8 @@
double dx1 = (table[i+1].x() - table[i].x());
double dy1 = (table[i+1].y() - table[i].y());
- double m0;
- double m1;
+ double m0 = 0.0;
+ double m1 = 0.0;
if( i > 0 )
{
double dy0 = (table[i].y() - table[i-1].y());
Modified: trunk/OpenGTL/OpenGTL/GTLCore/Debug.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/Debug.h 2008-09-14 07:49:17 UTC (rev 393)
+++ trunk/OpenGTL/OpenGTL/GTLCore/Debug.h 2008-09-14 07:55:54 UTC (rev 394)
@@ -114,7 +114,7 @@
#define GTL_ASSERT(assrt)
#define GTL_CHECK_PTR(ptr) (void)ptr;
#define GTL_CHECK_EQUAL(val1, val2) (void)val1; (void)val2;
-#define GTL_COMPARE_FUNCTION_PARAMETERS( _FUNC_, _PARAMS_ ) (void)_FUNC_; (void)_PARMAS_; \
+#define GTL_COMPARE_FUNCTION_PARAMETERS( _FUNC_, _PARAMS_ ) (void)_FUNC_; (void)_PARAMS_; \
#endif