From 657acd89855c376ebc879c0b9a624663e1b8f4a4 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Tue, 3 Jan 2017 00:12:23 +1100 Subject: [PATCH] Remove dead store to currmatch in do_hook() --- source/hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/hook.c b/source/hook.c index 0177164..7766f87 100644 --- a/source/hook.c +++ b/source/hook.c @@ -946,7 +946,7 @@ int BX_do_hook (int which, char *format, ...) if (currser != oldser) { oldser = currser; - currmatch = oldmatch = 0; + oldmatch = 0; if (bestmatch) hook_array[hook_num++] = bestmatch; bestmatch = NULL;