Browse Source

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

pre-master-46
dwarning 7 years ago
committed by Holger Vogt
parent
commit
390d0bddd9
  1. 4
      src/xspice/cmpp/writ_ifs.c

4
src/xspice/cmpp/writ_ifs.c

@ -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);

Loading…
Cancel
Save