]> granicus.if.org Git - graphviz/commit
lib/cgraph: use return value of 'fread' in aglasterr
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Tue, 22 Feb 2022 18:58:05 +0000 (20:58 +0200)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Feb 2022 02:31:19 +0000 (18:31 -0800)
commit29ff8ae9f3dd7b583100d62cdce66d49260c1b5b
tree5531a312523ebfcc4f6f60babf60653250eda6fc
parented1f312b16c6bcfd9c31f598cbc7e67e44948d60
lib/cgraph: use return value of 'fread' in aglasterr

fix warning:
agerror.c: In function ‘aglasterr’:
agerror.c:49:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
   49 |     fread(buf, sizeof(char), len, agerrout);
lib/cgraph/agerror.c