libpriv/core: squash a -Wmaybe-uninitialized
Noticed this pass by while doing a `fedpkg local`. It doesn't actually matter much since there are no exits possible between the point it's declared and when it's actually assigned, which I will assume is why our clang suite didn't pick it up, maybe? Not gonna look into that right now. Closes: #1010 Approved by: cgwalters
This commit is contained in:
parent
eacbcc34e0
commit
c10a45aa5e
@ -1705,7 +1705,7 @@ import_one_package (RpmOstreeContext *self,
|
|||||||
OstreeRepo *ostreerepo = get_pkgcache_repo (self);
|
OstreeRepo *ostreerepo = get_pkgcache_repo (self);
|
||||||
g_autofree char *ostree_commit = NULL;
|
g_autofree char *ostree_commit = NULL;
|
||||||
glnx_unref_object RpmOstreeUnpacker *unpacker = NULL;
|
glnx_unref_object RpmOstreeUnpacker *unpacker = NULL;
|
||||||
g_autofree char *pkg_path;
|
g_autofree char *pkg_path = NULL;
|
||||||
DnfRepo *pkg_repo;
|
DnfRepo *pkg_repo;
|
||||||
|
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user