bin/xbps-checkvers/main.c: CID 62673 (unchecked return value)

This commit is contained in:
Juan RP 2014-10-05 12:25:58 +02:00
parent 66292180a3
commit f74f079d9d

View File

@ -215,7 +215,8 @@ rcv_init(rcv_t *rcv, const char *prog)
strncpy(rcv->xhp.rootdir, rcv->rootdir, sizeof(rcv->xhp.rootdir)-1);
rcv->xhp.rootdir[sizeof(rcv->xhp.rootdir)-1] = '\0';
}
xbps_init(&rcv->xhp);
if (xbps_init(&rcv->xhp) != 0)
abort();
}
static void