summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/version.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/version.c b/src/version.c
index 9bd96cb..dacbc34 100644
--- a/src/version.c
+++ b/src/version.c
@@ -221,11 +221,6 @@ int apk_version_compare_blob_fuzzy(apk_blob_t a, apk_blob_t b, int fuzzy)
if (at == bt || fuzzy)
return APK_VERSION_EQUAL;
- /* if only difference is pkgrev, they are equal. */
- if ((at == TOKEN_REVISION_NO && bt == TOKEN_END) ||
- (at == TOKEN_END && bt == TOKEN_REVISION_NO))
- return APK_VERSION_EQUAL;
-
/* leading version components and their values are equal,
* now the non-terminating version is greater unless it's a suffix
* indicating pre-release */