]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make this branch compile with GMQCC
authorSamual Lenks <samual@xonotic.org>
Wed, 8 May 2013 00:23:34 +0000 (20:23 -0400)
committerSamual Lenks <samual@xonotic.org>
Wed, 8 May 2013 00:23:34 +0000 (20:23 -0400)
qcsrc/menu/xonotic/playlist.c
qcsrc/menu/xonotic/soundlist.c

index 3ae627eab0551668a1167f59558c9675c30edb00..45111678605c61316426c360e0ea3dd2f64c3241 100644 (file)
@@ -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;
index e488e9e35d8e2eb4f18c8170c0ef36c95d028e1d..3f3d5277234ef012f07ac262422a3f51385d666f 100644 (file)
@@ -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