Remove pointless NULL test in translat.c
'args' is always non-NULL when this function is called (and has already been dereferenced before the point where it was tested, anyway).
This commit is contained in:
@@ -388,7 +388,7 @@ static unsigned char my_getarg(char **args)
|
||||
unsigned char *arg;
|
||||
|
||||
arg = (unsigned char *)next_arg(*args, args);
|
||||
if (!args || !*args || !arg)
|
||||
if (!*args || !arg)
|
||||
return '\0';
|
||||
/* Don't trust isdigit() with 8 bits. */
|
||||
if ((*arg <= '9') && (*arg >= '0'))
|
||||
|
||||
Reference in New Issue
Block a user