Remove unused variable assigned in expression.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 6 May 2013 18:45:40 +0000 (20:45 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 6 May 2013 18:50:06 +0000 (20:50 +0200)
Found by clang analayzer

src/data/ods-reader.c

index fa364090c4564b583d5f4b3bee982ea63772a24b..39e82e5caea953dbe35e491e70098513a7e2494b 100644 (file)
@@ -720,7 +720,7 @@ ods_make_reader (struct spreadsheet *spreadsheet,
 
   if ( opts->read_names)
     {
-      while (1 == (ret = xmlTextReaderRead (r->rsd.xtr)))
+      while (1 == xmlTextReaderRead (r->rsd.xtr))
        {
          int idx;