This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch libgfortran]: Fix error about lable without following expression


Hi,

For systems without GETPWUID_H defined, there is a regression in
intrinsics/getlog.c about a lable without following statment.

ChangeLog

2011-01-26  Kai Tietz

        * intrinsics/getlog.c (getlog): Fix label/statement issue.

Tested for x86_64-w64-mingw32 and i686-w64-mingw32. Ok for apply?

Regards,
Kai

Index: intrinsics/getlog.c
===================================================================
--- intrinsics/getlog.c (revision 169276)
+++ intrinsics/getlog.c (working copy)
@@ -115,5 +115,7 @@
  cleanup:
 #ifdef HAVE_GETPWUID_R
   free (buf);
+#else
+  ;
 #endif
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]