X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fyaz-url.c;h=cf9974f5009c1cee7c47eab686331dc3851c092e;hb=d71e0f5445235ed25ab633d73a26bb4f01a0885f;hp=5f9a9be39179d4ca2b3f6242c5c4ac7d6b20a2a4;hpb=4c2a1989cfcdeba0338fce5fe9152a37837ef28a;p=yaz-moved-to-github.git diff --git a/util/yaz-url.c b/util/yaz-url.c index 5f9a9be..cf9974f 100644 --- a/util/yaz-url.c +++ b/util/yaz-url.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -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;