|
From: <and...@us...> - 2013-11-05 15:04:51
|
Revision: 12659
http://sourceforge.net/p/plplot/code/12659
Author: andrewross
Date: 2013-11-05 15:04:47 +0000 (Tue, 05 Nov 2013)
Log Message:
-----------
Fix potential uninitialized variable warning in lua bindings.
Modified Paths:
--------------
trunk/bindings/lua/plplotluac.i
Modified: trunk/bindings/lua/plplotluac.i
===================================================================
--- trunk/bindings/lua/plplotluac.i 2013-11-05 14:56:10 UTC (rev 12658)
+++ trunk/bindings/lua/plplotluac.i 2013-11-05 15:04:47 UTC (rev 12659)
@@ -1229,6 +1229,7 @@
free( $1 ); $1 = NULL;
}
}
+%typemap( default ) const char *legline[4] { $1 = NULL; }
// No count but check consistency with previous
%typemap( in, checkfn = "lua_istable" ) const char **ArrayCk {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|