mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 10:43:13 +02:00
core: remove check of NULL pointers before calling unhook() (issue #865)
This commit is contained in:
@@ -457,8 +457,7 @@ gui_main_loop ()
|
||||
}
|
||||
|
||||
/* remove keyboard hook */
|
||||
if (hook_fd_keyboard)
|
||||
unhook (hook_fd_keyboard);
|
||||
unhook (hook_fd_keyboard);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user