Fix a dumb crash I introduced.

This commit is contained in:
James Turner
2021-08-02 14:37:33 +01:00
parent 578a8acff4
commit 67806a59b0

View File

@@ -57,7 +57,7 @@ void sgReadChar ( gzFile fd, char *var )
{
if ( gzread ( fd, var, sizeof(char) ) != sizeof(char) ) {
throw sg_io_exception("sgReadChar: GZRead failed:" + gzErrorMessage(fd),
sg_location{thread_gzPath}, nullptr, false);
sg_location{thread_gzPath}, {}, false);
}
}