diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-01-28 11:14:33 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-12 17:33:31 +0300 |
commit | ecb1efeebaa5597bee4cfdaab7bff4007b73127d (patch) | |
tree | 9b1e5185d92973b3a080acceac7341285fc74790 /bpkg/rep-fetch.cxx | |
parent | cd4243d92ead437e3d10f1182edffedb0949e13e (diff) |
Suppress GCC's 'maybe uninitialized' warnings
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r-- | bpkg/rep-fetch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index 93ccbc6..f53919f 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -348,7 +348,7 @@ namespace bpkg rep_fetch (o, t, r, root, ""); // No reason (user-added). } - size_t rcount, pcount; + size_t rcount (0), pcount (0); if (verb) { rcount = db.query_value<repository_count> (); |