Shut up an unused variable warning triggered by an #ifdef.

This commit is contained in:
Rob Landley 2022-01-10 17:58:56 -06:00
parent 6cc6d5b065
commit 64f12b4f6a

View File

@ -475,8 +475,8 @@ int sig_to_num(char *sigstr)
char *s;
// Numeric?
i = estrtol(sigstr, &s, 10);
if (!errno && !*s) return i;
offset = estrtol(sigstr, &s, 10);
if (!errno && !*s) return offset;
// Skip leading "SIG".
strcasestart(&sigstr, "sig");