From: John Darrington Date: Mon, 6 May 2013 18:45:40 +0000 (+0200) Subject: Remove unused variable assigned in expression. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3a1e6b575eb7cbe4e7d89ea67d35b18c8ef5055;p=pspp Remove unused variable assigned in expression. Found by clang analayzer --- diff --git a/src/data/ods-reader.c b/src/data/ods-reader.c index fa364090c4..39e82e5cae 100644 --- a/src/data/ods-reader.c +++ b/src/data/ods-reader.c @@ -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;