From: Samual Lenks Date: Wed, 8 May 2013 00:23:34 +0000 (-0400) Subject: Make this branch compile with GMQCC X-Git-Tag: xonotic-v0.8.1~157^2~7^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2a3c3eecb6b49f6afd37fc8d1be3e3c68462e6aa;p=xonotic%2Fxonotic-data.pk3dir.git Make this branch compile with GMQCC --- diff --git a/qcsrc/menu/xonotic/playlist.c b/qcsrc/menu/xonotic/playlist.c index 3ae627eab..451116786 100644 --- a/qcsrc/menu/xonotic/playlist.c +++ b/qcsrc/menu/xonotic/playlist.c @@ -73,7 +73,6 @@ void XonoticPlayList_addToPlayList(entity me, string track) return; } float i; - string s; for(i = 0; i < me.nItems; ++i) { if(argv(i) == track) @@ -85,7 +84,7 @@ void XonoticPlayList_addToPlayList(entity me, string track) void XonoticPlayList_removeFromPlayList(entity me, string track) { float i; - string s; + string s = ""; me.nItems = tokenize_console(cvar_string("music_playlist_list0")); if(me.nItems == 0) return; diff --git a/qcsrc/menu/xonotic/soundlist.c b/qcsrc/menu/xonotic/soundlist.c index e488e9e35..3f3d52772 100644 --- a/qcsrc/menu/xonotic/soundlist.c +++ b/qcsrc/menu/xonotic/soundlist.c @@ -59,7 +59,6 @@ string XonoticSoundList_soundName(entity me, float i ) void XonoticSoundList_getSounds(entity me) { string s; - float i; if(me.filterString) //subdirectory in filterString allowed