debug: Avoid use of uninitialized data

This commit is contained in:
Kim Woelders 2021-12-20 21:57:47 +01:00
parent 82bbd0a278
commit f1bef7ae01
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ __attribute__((constructor))
if (!s)
return;
p1 = p2 = 0;
sscanf(s, "%d:%d", &p1, &p2);
__imlib_debug = p1;