Dereferencing of the null pointer 'p' might take place. Remove unused variable.

This commit is contained in:
dwarning 2018-11-20 16:29:11 +01:00 committed by Holger Vogt
parent 08a9d8462b
commit 390d0bddd9
1 changed files with 1 additions and 3 deletions

View File

@ -1247,9 +1247,7 @@ static char *boolean_to_str(Boolean_t value)
default:
print_error("INTERNAL ERROR - boolean_to_str() - Impossible boolean value.");
{
char *p = NULL; *p = '\0';
}
}
return(str);