Fix compiler warning in gnumeric-reader.c 20130401030511/pspp 20130402030504/pspp 20130403030507/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Apr 2013 06:06:32 +0000 (08:06 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 1 Apr 2013 06:06:32 +0000 (08:06 +0200)
src/data/gnumeric-reader.c

index 197c1d1a59f208981cbb9c75a008b995bde24e89..27ba9d4cd21811c76bb0c2340d269dea018063bd 100644 (file)
@@ -473,7 +473,7 @@ gnumeric_error_handler (void *ctx, const char *mesg,
 static struct gnumeric_reader *
 gnumeric_reopen (struct gnumeric_reader *r, const char *filename, bool show_errors)
 {  
-  int ret;
+  int ret = -1;
   struct state_data *sd;
 
   xmlTextReaderPtr xtr;