On 11-12-14 13:43 , Jing Yu wrote:

Index: config/locale/generic/c_locale.cc
===================================================================
--- config/locale/generic/c_locale.cc   (revision 182019)
+++ config/locale/generic/c_locale.cc   (working copy)
@@ -52,8 +52,8 @@
     {
       // Assumes __s formatted for "C" locale.
       char* __old = setlocale(LC_ALL, 0);
-      char* __sav = NULL;
-      if (__old != NULL)
+      char* __sav = 0;
+      if (__old != 0)


Just 'if (__old)', as Paolo suggested.  Similarly in all the other uses.


OK with that change.


Diego.

Reply via email to