Remove dead store to currmatch in do_hook()
This commit is contained in:
@@ -946,7 +946,7 @@ int BX_do_hook (int which, char *format, ...)
|
|||||||
if (currser != oldser)
|
if (currser != oldser)
|
||||||
{
|
{
|
||||||
oldser = currser;
|
oldser = currser;
|
||||||
currmatch = oldmatch = 0;
|
oldmatch = 0;
|
||||||
if (bestmatch)
|
if (bestmatch)
|
||||||
hook_array[hook_num++] = bestmatch;
|
hook_array[hook_num++] = bestmatch;
|
||||||
bestmatch = NULL;
|
bestmatch = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user