This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch libgfortran]: Fix error about lable without following expression
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Fortran <fortran at gcc dot gnu dot org>
- Date: Wed, 26 Jan 2011 08:37:08 +0100
- Subject: [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
}