Spice_Notice is never NULL
This commit is contained in:
parent
0cd33d3fbb
commit
d3866a6315
|
|
@ -178,7 +178,7 @@ com_version(wordlist *wl)
|
|||
"** Copyright 1985-1994, Regents of the University of California.\n"
|
||||
"** %s\n",
|
||||
ft_sim->simulator, ft_sim->version, ft_sim->description, Spice_Manual);
|
||||
if (Spice_Notice != NULL && *Spice_Notice != '\0')
|
||||
if (*Spice_Notice != '\0')
|
||||
fprintf(cp_out, "** %s\n", Spice_Notice);
|
||||
if (*Spice_Build_Date != '\0')
|
||||
fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date);
|
||||
|
|
@ -195,7 +195,7 @@ com_version(wordlist *wl)
|
|||
"** %s-%s\n"
|
||||
"** %s\n",
|
||||
ft_sim->simulator, ft_sim->version, Spice_Manual);
|
||||
if (Spice_Notice != NULL && *Spice_Notice != '\0')
|
||||
if (*Spice_Notice != '\0')
|
||||
fprintf(cp_out, "** %s\n", Spice_Notice);
|
||||
if (*Spice_Build_Date != '\0')
|
||||
fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date);
|
||||
|
|
@ -214,7 +214,7 @@ com_version(wordlist *wl)
|
|||
"** Copyright 1985-1994, Regents of the University of California.\n"
|
||||
"** %s\n",
|
||||
ft_sim->simulator, ft_sim->version, ft_sim->description, Spice_Manual);
|
||||
if (Spice_Notice != NULL && *Spice_Notice != '\0')
|
||||
if (*Spice_Notice != '\0')
|
||||
fprintf(cp_out, "** %s\n", Spice_Notice);
|
||||
if (*Spice_Build_Date != '\0')
|
||||
fprintf(cp_out, "** Creation Date: %s\n", Spice_Build_Date);
|
||||
|
|
|
|||
Loading…
Reference in New Issue