Shut up an unused variable warning triggered by an #ifdef.
This commit is contained in:
parent
6cc6d5b065
commit
64f12b4f6a
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user