From: <and...@us...> - 2013-11-05 14:21:42
|
Revision: 12655 http://sourceforge.net/p/plplot/code/12655 Author: andrewross Date: 2013-11-05 14:21:38 +0000 (Tue, 05 Nov 2013) Log Message: ----------- Initialize variables to zero to suppress spurious compiler warning about uninitialized variables. Modified Paths: -------------- trunk/bindings/octave/plplot_octave.i Modified: trunk/bindings/octave/plplot_octave.i =================================================================== --- trunk/bindings/octave/plplot_octave.i 2013-11-05 14:10:28 UTC (rev 12654) +++ trunk/bindings/octave/plplot_octave.i 2013-11-05 14:21:38 UTC (rev 12655) @@ -923,7 +923,7 @@ Cell temp_cell; char *tmp_cstring; std::string str; - size_t max_length, non_blank_length; + size_t max_length = 0, non_blank_length; int i, ifcell; if ( _n_dims( $input ) > 2 ) { @@ -1031,7 +1031,7 @@ Cell temp_cell; char *tmp_cstring; std::string str; - size_t max_length, non_blank_length; + size_t max_length = 0, non_blank_length; int i, ifcell; if ( _n_dims( $input ) > 2 ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |