Maybe this will make coverity not care that this check is dead. CID 1268063

This commit is contained in:
Nick Mathewson 2015-02-16 15:44:18 -05:00
parent 2fe139473d
commit 0b3ae7d9e5

View File

@ -3329,10 +3329,7 @@ validate_recommended_package_line(const char *line)
cp = end_of_word + 1;
}
if (n_entries == 0)
return 0;
return 1;
return (n_entries == 0) ? 0 : 1;
}
/** Release all storage used by the directory server. */