aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-21 11:00:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-21 11:00:41 +0300
commitf8bee7e57187ae9bd55a95bcac4fa07e41ff4dfb (patch)
treeddeb96a38033e4979bf0bf8b715b838e318a3d9e
parent717e432464858e173c6ec412f226e8eac2224109 (diff)
Fix 'control reaches end of non-void function' warning
-rw-r--r--libbpkg/manifest.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx
index adb4ffc..951c6a6 100644
--- a/libbpkg/manifest.cxx
+++ b/libbpkg/manifest.cxx
@@ -249,6 +249,9 @@ namespace bpkg
}
bad_arg (string (what) + " should be 2-byte unsigned integer");
+
+ assert (false); // Can't be here.
+ return 0;
};
enum class mode {epoch, upstream, release, revision};