1
0
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:
Sébastien Helleu
2024-04-25 00:22:23 +02:00
parent 529a22e342
commit 1ad0b4b669
+1 -2
View File
@@ -457,8 +457,7 @@ gui_main_loop ()
}
/* remove keyboard hook */
if (hook_fd_keyboard)
unhook (hook_fd_keyboard);
unhook (hook_fd_keyboard);
}
/*