bin/xbps-rindex/sign.c: initialize var for strcmp().

This commit is contained in:
Juan RP 2014-01-30 19:33:14 +01:00
parent 3405866ae2
commit ea26fb3d3f

View File

@ -126,7 +126,7 @@ sign_repo(struct xbps_handle *xhp, const char *repodir,
unsigned char *sig;
unsigned int siglen;
uint16_t rpubkeysize, pubkeysize;
const char *arch, *pkgver, *rsignedby;
const char *arch, *pkgver, *rsignedby = NULL;
char *binpkg, *binpkg_sig, *buf, *defprivkey;
int binpkg_fd, binpkg_sig_fd, rv = 0;
bool flush = false;