lib/util.c: CID 62710 (dead code)

This commit is contained in:
Juan RP 2014-10-07 08:16:45 +02:00
parent a730a61df9
commit fe87bc1a88

View File

@ -184,10 +184,7 @@ xbps_binpkg_arch(const char *pkg)
fname = pkg;
p = fname + strlen(pkgver);
if (!p || p == '\0') {
free(pkgver);
return NULL;
}
assert(p);
if (*p == '.')
p++;