summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:26 +0100
committerBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:26 +0100
commit8edb7b06907de28b25e1c77ec1017d4ca1cc15c7 (patch)
treebc81e896ce4f72128f5a985f86b320b58277c06b
parentd7fc8d9619fb06cee0ec5ab11f313d610af78efb (diff)
Fix a warning about missing return
-rw-r--r--src/z-term.cc2
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;
}