From b102b9d5c9d08f92d22f1e42706c9d673d4abe52 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Sat, 14 Oct 2017 23:18:26 +1100 Subject: [PATCH] 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). --- source/translat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/translat.c b/source/translat.c index 4b1b4fd..00a4b7d 100644 --- a/source/translat.c +++ b/source/translat.c @@ -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'))