Lint-clean: void out an unused return value.
authorMike Taylor <mike@indexdata.com>
Wed, 24 Aug 2011 11:44:53 +0000 (12:44 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 24 Aug 2011 11:44:53 +0000 (12:44 +0100)
util/yaz-url.c

index 5f9a9be..a94f809 100644 (file)
@@ -45,7 +45,7 @@ static char *get_file(const char *fname, size_t *len)
     {
         buf = xmalloc(*len);
         fseek(inf, 0L, SEEK_SET);
-        fread(buf, 1, *len, inf);
+        (void) fread(buf, 1, *len, inf);
     }
     fclose(inf);
     return buf;