diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-21 11:00:41 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-21 11:00:41 +0300 |
commit | f8bee7e57187ae9bd55a95bcac4fa07e41ff4dfb (patch) | |
tree | ddeb96a38033e4979bf0bf8b715b838e318a3d9e | |
parent | 717e432464858e173c6ec412f226e8eac2224109 (diff) |
Fix 'control reaches end of non-void function' warning
-rw-r--r-- | libbpkg/manifest.cxx | 3 |
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}; |