Fixed some warnings reported by clang.

This commit is contained in:
Juan RP
2014-04-20 10:02:54 +02:00
parent ada3483acc
commit dacbb2f22f
8 changed files with 23 additions and 14 deletions

View File

@@ -280,7 +280,6 @@ xbps_init(struct xbps_handle *xhp)
xbps_dbg_printf(xhp, "failed to read configuration file %s: %s\n",
xhp->conffile, strerror(rv));
xbps_dbg_printf(xhp, "Using built-in defaults\n");
rv = 0;
}
/* Set rootdir */
if (xhp->rootdir[0] == '\0') {