diff options
-rw-r--r-- | apt-pkg/edsp/edsplistparser.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apt-pkg/edsp/edsplistparser.cc b/apt-pkg/edsp/edsplistparser.cc index 34b9ec934..0be543e3c 100644 --- a/apt-pkg/edsp/edsplistparser.cc +++ b/apt-pkg/edsp/edsplistparser.cc @@ -61,9 +61,7 @@ APT::StringView edspLikeListParser::Description_md5() // ListParser::VersionHash - Compute a unique hash for this version /*{{{*/ uint32_t edspLikeListParser::VersionHash() { - if (Section.Exists("APT-Hash") == true) - return Section.FindI("APT-Hash"); - else if (Section.Exists("APT-ID") == true) + if (Section.Exists("APT-ID") == true) return Section.FindI("APT-ID"); return 0; } |