diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:26 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:26 +0100 |
commit | 8edb7b06907de28b25e1c77ec1017d4ca1cc15c7 (patch) | |
tree | bc81e896ce4f72128f5a985f86b320b58277c06b | |
parent | d7fc8d9619fb06cee0ec5ab11f313d610af78efb (diff) |
Fix a warning about missing return
-rw-r--r-- | src/z-term.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/z-term.cc b/src/z-term.cc index 8be27e48..cc7ee4d6 100644 --- a/src/z-term.cc +++ b/src/z-term.cc @@ -350,6 +350,8 @@ static errr push_result_to_errr(key_queue::push_result_t r) case pr::OVERFLOW: return 1; } + + return -1; } |