From efbe6dfb7724a7a816ddae92868b611c67727160 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 15 Aug 2011 21:04:03 +0200 Subject: [PATCH] variables work better if declared --- qcsrc/menu/xonotic/keybinder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/menu/xonotic/keybinder.c b/qcsrc/menu/xonotic/keybinder.c index 90dfe9fa8..754135bb2 100644 --- a/qcsrc/menu/xonotic/keybinder.c +++ b/qcsrc/menu/xonotic/keybinder.c @@ -72,6 +72,7 @@ entity makeXonoticKeyBinder() } void replace_bind(string from, string to) { + float n, j, k; n = tokenize(findkeysforcommand(from)); // uses '...' strings for(j = 0; j < n; ++j) { -- 2.39.2