From 033ee4473a0ebfb2ef545b14c9b0e5fd13df21e3 Mon Sep 17 00:00:00 2001 From: David Braam Date: Fri, 20 Sep 2024 15:12:32 +0200 Subject: [PATCH] Fix uninitialized pointer issue. --- src/io/keybinding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/keybinding.h b/src/io/keybinding.h index f07b3d09..b17755af 100644 --- a/src/io/keybinding.h +++ b/src/io/keybinding.h @@ -121,7 +121,7 @@ class Keybinding : sp::NonCopyable static void updateKeys(int key_number, float value); static Keybinding* keybindings; - Keybinding* next; + Keybinding* next=nullptr; static Keybinding* rebinding_key; static Type rebinding_type;