Skip to content

Commit

Permalink
libpriv/core: squash a -Wmaybe-uninitialized
Browse files Browse the repository at this point in the history
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: coreos#1010
Approved by: cgwalters
  • Loading branch information
jlebon authored and rh-atomic-bot committed Sep 25, 2017
1 parent eacbcc3 commit c10a45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libpriv/rpmostree-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ import_one_package (RpmOstreeContext *self,
OstreeRepo *ostreerepo = get_pkgcache_repo (self);
g_autofree char *ostree_commit = NULL;
glnx_unref_object RpmOstreeUnpacker *unpacker = NULL;
g_autofree char *pkg_path;
g_autofree char *pkg_path = NULL;
DnfRepo *pkg_repo;

int flags = 0;
Expand Down

0 comments on commit c10a45a

Please sign in to comment.