Skip to content

Commit

Permalink
Fix uninitialized pointer issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
daid committed Sep 20, 2024
1 parent dc4ac06 commit 033ee44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/keybinding.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 033ee44

Please sign in to comment.