diff src/utils.cc @ 10987:eec74ee00b32

eliminate some GCC warnings
author John W. Eaton <jwe@octave.org>
date Thu, 16 Sep 2010 07:08:02 -0400
parents 89f4d7e294cc
children aca961a3f387
line wrap: on
line diff
--- a/src/utils.cc	Thu Sep 16 06:30:15 2010 -0400
+++ b/src/utils.cc	Thu Sep 16 07:08:02 2010 -0400
@@ -1213,7 +1213,7 @@
 
   static char *buf = 0;
 
-  int nchars = 0;
+  volatile int nchars = 0;
 
   if (! buf)
     buf = new char [size];