lib/util.c: CID 62710 (dead code)
This commit is contained in:
parent
a730a61df9
commit
fe87bc1a88
@ -184,10 +184,7 @@ xbps_binpkg_arch(const char *pkg)
|
|||||||
fname = pkg;
|
fname = pkg;
|
||||||
|
|
||||||
p = fname + strlen(pkgver);
|
p = fname + strlen(pkgver);
|
||||||
if (!p || p == '\0') {
|
assert(p);
|
||||||
free(pkgver);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
if (*p == '.')
|
if (*p == '.')
|
||||||
p++;
|
p++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user