Mercurial > octave-nkf
diff liboctave/idx-vector.cc @ 10101:b51848e95e4b
cleanups to avoid valgrind warnings
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 13 Jan 2010 22:31:48 -0500 |
parents | b7915ebe8acf |
children | 4c0cdbe0acca |
line wrap: on
line diff
--- a/liboctave/idx-vector.cc Wed Jan 13 21:12:24 2010 -0500 +++ b/liboctave/idx-vector.cc Wed Jan 13 22:31:48 2010 -0500 @@ -215,7 +215,7 @@ template <class T> idx_vector::idx_scalar_rep::idx_scalar_rep (T x) { - octave_idx_type dummy; + octave_idx_type dummy = 0; data = convert_index (x, err, dummy); if (err) gripe_invalid_index (); }