mirror of
https://github.com/sfall-team/sslc.git
synced 2026-07-27 16:52:49 -07:00
Fix crash for scripts with no strings
This commit is contained in:
@@ -1219,6 +1219,8 @@ static void CompressNamelist(Program *prog) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void CompressStringspace(Program *prog) {
|
static void CompressStringspace(Program *prog) {
|
||||||
|
if (!prog->stringspace) return;
|
||||||
|
|
||||||
char* endptr;
|
char* endptr;
|
||||||
int entries = 0, *refs, *offsets, *transforms, i, j, k;
|
int entries = 0, *refs, *offsets, *transforms, i, j, k;
|
||||||
Procedure* proc;
|
Procedure* proc;
|
||||||
|
|||||||
Reference in New Issue
Block a user