Fix some warnings from clang's static code analyzer
This commit is contained in:
@@ -388,7 +388,7 @@ const char *verb;
|
||||
static char wholebuf[80];
|
||||
|
||||
Strcpy(wholebuf, is_u(etmp) ? "You" : Monnam(etmp->emon));
|
||||
if (!*verb)
|
||||
if (!verb || !*verb)
|
||||
return wholebuf;
|
||||
Strcat(wholebuf, " ");
|
||||
if (is_u(etmp))
|
||||
|
||||
Reference in New Issue
Block a user