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