diff --git a/lib/limits.c b/lib/limits.c index efb24a54..b3ea1784 100644 --- a/lib/limits.c +++ b/lib/limits.c @@ -62,7 +62,8 @@ static int setrlimit_value (unsigned int resource, */ char *endptr; long longlimit = strtol (value, &endptr, 10); - if ((0 == longlimit) && (value == endptr)) { + + if (value == endptr) { /* No argument at all. No-op. * FIXME: We could instead throw an error, though. */