aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-01-28 11:14:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-12 17:33:31 +0300
commitecb1efeebaa5597bee4cfdaab7bff4007b73127d (patch)
tree9b1e5185d92973b3a080acceac7341285fc74790 /bpkg/manifest-utility.cxx
parentcd4243d92ead437e3d10f1182edffedb0949e13e (diff)
Suppress GCC's 'maybe uninitialized' warnings
Diffstat (limited to 'bpkg/manifest-utility.cxx')
-rw-r--r--bpkg/manifest-utility.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index 031d51a..d697620 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -95,7 +95,7 @@ namespace bpkg
// if directory contains the .git/ subdirectory then git, otherwise
// bpkg.
//
- repository_type t;
+ repository_type t (repository_type::bpkg);
if (ot)
t = *ot;