[Committed] libgfortran/io/read.c -- hide "int n"

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Nov 9 04:18:00 GMT 2006


I've committed the following patch as "obvious" to trunk.

2006-11-08  Steven G. Kargl <kargl@gcc.gnu.org> 

    * io/read. (max_value): Hide "int n" in an #ifdef.

Index: read.c
===================================================================
--- read.c	(revision 118612)
+++ read.c	(working copy)
@@ -92,7 +92,9 @@ GFC_UINTEGER_LARGEST
 max_value (int length, int signed_flag)
 {
   GFC_UINTEGER_LARGEST value;
+#if defined HAVE_GFC_REAL_16 || defined HAVE_GFC_REAL_10
   int n;
+#endif
 
   switch (length)
     {
-- 
Steve



More information about the Gcc-patches mailing list