Remove dead store to currmatch in do_hook()

This commit is contained in:
Kevin Easton
2017-01-03 00:12:23 +11:00
parent 89a5417a11
commit 657acd8985

View File

@@ -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;