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;
|
||||
|
||||
p = fname + strlen(pkgver);
|
||||
if (!p || p == '\0') {
|
||||
free(pkgver);
|
||||
return NULL;
|
||||
}
|
||||
assert(p);
|
||||
if (*p == '.')
|
||||
p++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user