From: Rudolf Polzer Date: Mon, 15 Aug 2011 19:04:03 +0000 (+0200) Subject: variables work better if declared X-Git-Tag: xonotic-v0.5.0~140^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=efbe6dfb7724a7a816ddae92868b611c67727160;p=xonotic%2Fxonotic-data.pk3dir.git variables work better if declared --- 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) {