mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Maybe this will make coverity not care that this check is dead. CID 1268063
This commit is contained in:
parent
2fe139473d
commit
0b3ae7d9e5
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user