(svn r26073) -Cleanup: unneeded check against NULL

This commit is contained in:
rubidium 2013-11-23 18:13:46 +00:00
parent be6b64f4e6
commit d336bf65df
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const
}
/* Then find the warning message when the file's missing */
item = filename == NULL ? NULL : origin->GetItem(filename, false);
item = origin->GetItem(filename, false);
if (item == NULL) item = origin->GetItem("default", false);
if (item == NULL) {
DEBUG(grf, 1, "No origin warning message specified for: %s", filename);