diff src/oct-stream.cc @ 10076:4b270d1540f7

avoid various GCC warnings
author John W. Eaton <jwe@octave.org>
date Sat, 09 Jan 2010 02:24:49 -0500
parents 7cd2e1b372e5
children 829e69ec3110
line wrap: on
line diff
--- a/src/oct-stream.cc
+++ b/src/oct-stream.cc
@@ -1577,7 +1577,7 @@
     { \
       if (width) \
         { \
-          std::string tmp (width, '\0'); \
+          tmp = std::string (width, '\0'); \
  \
           int c = EOF; \
  \