loader: silence fread unused result
authorCharles Giessen <charles@lunarg.com>
Mon, 28 Dec 2020 19:33:17 +0000 (13:33 -0600)
committerLenny Komow <lenny@lunarg.com>
Tue, 5 Jan 2021 17:23:14 +0000 (10:23 -0700)
commit1f0c7868a438046fa4f6c9f2654528a4099adcae
tree116159f4fd969857ac2350b0f1198145a7c80481
parent294480cb7f3e5b18082ad0294c61bb7648d00820
loader: silence fread unused result

fread returns the count of values returned but was being ignored.
This commit makes sure to use that value when determining whether to
continue seeking to the end of the file.

Change-Id: Idb818cb3cda0cdde81aba1e5a4dd639c4814a923
loader/loader.c