]> gcc.gnu.org Git - gcc.git/commitdiff
fini.c (main): Avoid automatic aggregate initialization.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 27 Jul 2000 15:58:01 +0000 (15:58 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 27 Jul 2000 15:58:01 +0000 (15:58 +0000)
* fini.c (main): Avoid automatic aggregate initialization.

* proj.h: Indent #error directive.

From-SVN: r35294

gcc/f/ChangeLog
gcc/f/fini.c
gcc/f/proj.h

index bfeb7cf0036ee97112e4951ab691217bafd84808..72a63b0cb53c4082936bd26356714998a9c8dac0 100644 (file)
@@ -1,3 +1,9 @@
+Thu Jul 27 11:50:08 2000  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * fini.c (main): Avoid automatic aggregate initialization.
+
+       * proj.h: Indent #error directive.
+
 2000-07-26  Toon Moene  <toon@moene.indiv.nluug.nl>
 
        * lang-specs.h: Remove one /dev/null from tradcpp invocation.
index e5eb5391ac1918ac3c0e3e1da62f584ac4b7c5a9..f685df1847a298cdceb83340cbf4829d8220a922 100644 (file)
@@ -234,7 +234,7 @@ int
 main (int argc, char **argv)
 {
   char buf[MAXNAMELEN];
-  char last_buf[MAXNAMELEN] = "";
+  char last_buf[MAXNAMELEN];
   char kwname[MAXNAMELEN];
   char routine[32];
   char type[32];
@@ -256,6 +256,8 @@ main (int argc, char **argv)
   int cc;
   bool do_exit = FALSE;
 
+  last_buf[0] = '\0';
+  
   for (i = 0; ((size_t) i) < ARRAY_SIZE (names); ++i)
     {                          /* Initialize length/name ordered list roots. */
       names[i].first = (name) &names[i];
index 8671fdaf43100df372f3e2bc6e40ecc3f46a9e93..d0b41a23f9a0affab431de06d42a45b390335fa1 100644 (file)
@@ -32,7 +32,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "system.h"
 
 #if (GCC_VERSION < 2000)
-#error "You have to use gcc 2.x to build g77 (might be fixed in g77-0.6)."
+ #error "You have to use gcc 2.x to build g77 (might be fixed in g77-0.6)."
 #endif
 
 /* Include files everyone gets.  <assert.h> is needed for assert().
This page took 0.071128 seconds and 5 git commands to generate.