Remove useless NULL checks

m_strdup() never returns NULL.
This commit is contained in:
Kevin Easton
2017-04-15 22:56:36 +10:00
parent a01a93eaa3
commit 274ba92c2e

View File

@@ -842,9 +842,8 @@ int code = 0;
p++;
}
if (!procname || find_in_list((List **)&install_pack, procname, 0))
if (find_in_list((List **)&install_pack, procname, 0))
{
if (procname)
bitchsay("Module [%s] Already installed", procname);
new_free(&f);
new_free(&procname);