pull: Fix a used before initialization warning
src/libostree/ostree-repo-pull.c:1676:22: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
65c0594011
commit
cb053ae0f6
|
|
@ -1322,7 +1322,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
|
||||||
char **configured_branches = NULL;
|
char **configured_branches = NULL;
|
||||||
guint64 bytes_transferred;
|
guint64 bytes_transferred;
|
||||||
guint64 end_time;
|
guint64 end_time;
|
||||||
OstreeRepoPullFlags flags;
|
OstreeRepoPullFlags flags = 0;
|
||||||
const char *dir_to_pull = NULL;
|
const char *dir_to_pull = NULL;
|
||||||
char **refs_to_fetch = NULL;
|
char **refs_to_fetch = NULL;
|
||||||
gboolean is_mirror;
|
gboolean is_mirror;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue