fix spurious error.
This commit is contained in:
parent
a9c737e532
commit
8a9868a120
6
C/qlyr.c
6
C/qlyr.c
@ -617,11 +617,7 @@ RestoreAtomList(Atom atm USES_REGS)
|
|||||||
static size_t
|
static size_t
|
||||||
read_bytes(IOSTREAM *stream, void *ptr, size_t sz)
|
read_bytes(IOSTREAM *stream, void *ptr, size_t sz)
|
||||||
{
|
{
|
||||||
size_t bytes_read;
|
return Sfread(ptr, sz, 1, stream);
|
||||||
if ((bytes_read = Sfread(ptr, sz, 1, stream)) < sz) {
|
|
||||||
ERROR(BAD_READ);
|
|
||||||
}
|
|
||||||
return sz;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned char
|
static unsigned char
|
||||||
|
Reference in New Issue
Block a user