diff options
Diffstat (limited to 'src/cancel.cpp')
-rw-r--r-- | src/cancel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp index 3a01ac2..b3e52b6 100644 --- a/src/cancel.cpp +++ b/src/cancel.cpp | |||
@@ -213,7 +213,7 @@ CancelOp which_cancel_op(char const* op_string_) | |||
213 | lua_remove(L, idx_); // argument is processed, remove it | 213 | lua_remove(L, idx_); // argument is processed, remove it |
214 | if (op == CancelOp::Invalid) | 214 | if (op == CancelOp::Invalid) |
215 | { | 215 | { |
216 | std::ignore = luaL_error(L, "invalid hook option %s", str); // doesn't return | 216 | luaL_error(L, "invalid hook option %s", str); // doesn't return |
217 | } | 217 | } |
218 | return op; | 218 | return op; |
219 | } | 219 | } |