[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: gattrib.c



  User: ahvezda 
  Date: 05/04/03 16:02:17

  Modified:    .        gattrib.c
  Log:
  Fixed minor nit to make gcc 2.96 happy.
  
  
  
  
  Revision  Changes    Path
  1.15      +2 -1      eda/geda/devel/gattrib/src/gattrib.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gattrib.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gattrib/src/gattrib.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- gattrib.c	7 Mar 2005 02:11:27 -0000	1.14
  +++ gattrib.c	3 Apr 2005 20:02:17 -0000	1.15
  @@ -206,6 +206,7 @@
     while(argv[i] != NULL) {
   
       gchar *temp_filename;
  +    gchar *filename;
   #ifdef __MINGW32__
       if (argv[i][1] == ':' && (argv[i][2] == G_DIR_SEPARATOR ||
                                 argv[i][2] == OTHER_PATH_SEPARATER_CHAR))
  @@ -219,7 +220,7 @@
         temp_filename = g_build_path (G_DIR_SEPARATOR_S, cwd, argv[i], NULL);
       }
   
  -    gchar *filename = f_normalize_filename(temp_filename);
  +    filename = f_normalize_filename(temp_filename);
       g_free(temp_filename);
   
       s_log_message("Loading file [%s]\n", filename);