]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove warnings
authorRudolf Polzer <divverent@xonotic.org>
Fri, 8 Jul 2011 19:41:21 +0000 (21:41 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 8 Jul 2011 19:41:21 +0000 (21:41 +0200)
qcsrc/client/Main.qc
qcsrc/client/miscfunctions.qc
qcsrc/client/scoreboard.qc
qcsrc/client/shownames.qc
qcsrc/client/shownames.qh
qcsrc/server/bot/havocbot/role_keepaway.qc
qcsrc/server/pathlib/pathlib.qh
qcsrc/server/scores.qh
qcsrc/server/tturrets/include/turrets_early.qh
qcsrc/server/w_tuba.qc
qcsrc/warpzonelib/server.qc

index fb9a1bb74db3e4725911dacbbd8d50327579b1fb..95a01ab0e767501ac9b257ff2b266536dbe893cf 100644 (file)
@@ -827,8 +827,6 @@ void Ent_ClientData()
 
        if(newspectatee_status != spectatee_status)
        {
-               float i;
-
                // clear race stuff
                race_laptime = 0;
                race_checkpointtime = 0;
index da09230dbc1965cab6b3f3310fe633b4e43f24c2..0ba6097701ebe85295efa9179652aa92f42bf0aa 100644 (file)
@@ -319,9 +319,6 @@ vector HUD_GetFontsize(string cvarname)
 
 float PreviewExists(string name)
 {
-       float f;
-       string file;
-
        if(autocvar_cl_readpicture_force)
                return false;
 
index 37ace81a322ef33aaebcfc8831d3935e5bcd3145..67b7f746c8d43f0b2711ff6f655d1ca22d5a88c9 100644 (file)
@@ -981,7 +981,7 @@ vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size)
        if(getstati(STAT_SWITCHWEAPON) == WEP_MINSTANEX)
                g_minstagib = 1; // TODO: real detection for minstagib?
 
-       float weapon_stats, weapon_number;
+       float weapon_stats;
 
        if (!acc_levels)
                rgb = '1 1 1';
index 28d0d161eb3453108a9d854fbff1562f06fc0bed..e2f531778e29934817a637e3d4b018f71e7f73a5 100644 (file)
@@ -150,7 +150,6 @@ void Draw_ShowNames_All()
        float i;
        for(i = 0; i < maxclients; ++i)
        {
-               vector o;
                float t;
                t = GetPlayerColor(i);
                if(t == COLOR_SPECTATOR)
index a17f31d42459ffa2fc1909219d57f998aae47a87..50380e8209531ce2552bd974dbff5e43ac4d8916 100644 (file)
@@ -1,5 +1,4 @@
 .float healthvalue;
 .float armorvalue;
 .float sameteam;
-.float the_entnum;
 
index 30d96499a21d631b8f4a4353c5817fedbcb75417..8ea23f1af02225b0a04a33652f113709e234fe3f 100644 (file)
@@ -9,7 +9,7 @@ entity ka_ball;
 
 void havocbot_goalrating_ball(float ratingscale, vector org)
 {
-       local float t, distance;
+       local float t;
        local entity ball_owner;
        ball_owner = ka_ball.owner;
 
index 2616a77369fb767b5d6ca9c8f89ca0e60676ec83..71d13caa4e084660b568389f7f96031e54bfafc1 100644 (file)
@@ -18,7 +18,6 @@ void pathlib_showpath2(entity path);
 
 entity openlist;
 entity closedlist;
-entity edgelist;
 
 entity goal_node;
 entity start_node;
@@ -106,7 +105,6 @@ var float  pathlib_makenode(entity parent,vector start, vector to, vector goal,f
 var float  buildpath_nodefilter(vector n,vector c,vector p);
 
 var float  pathlib_wpp_waypointcallback(entity wp, entity wp_prev);
-var const float pathlib_wpp_wpcb_null();
 
 #ifdef DEBUGPATHING
        #include "debug.qc"
index f94b683323dfb8b57d974c7d2b2dd683ace5d90b..3f97eb5c81f34590c1b4c0880445755ce0ba7ca7 100644 (file)
@@ -3,6 +3,7 @@ entity scores_initialized; // non-world when scores labels/rules have been set
 .float teamscores[MAX_TEAMSCORE];
 
 .float scores_accumulated[MAX_SCORE]; // for player stats only
+FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores_accumulated);
 
 /**
  * Attaches a PlayerScore entity to a player. Use that in ClientConnect.
index d52c00307c0474f5ff59b7a6e81c0ddf79291826..46f1e5c2c5b6503eaf5239a845b38524e75a815d 100644 (file)
@@ -479,7 +479,6 @@ float TNSF_SETUP        = 8;
 float TNSF_ANG          = 16;
 float TNSF_AVEL         = 32;
 float TNSF_MOVE         = 64;
-.float anim_start_time;
 float TNSF_ANIM         = 128;
 
 float TNSF_FULL_UPDATE  = 16777215;
index 693612de95ee93329e7fb348c0c3746165c1be9b..117d32cb96a5a454d31d76896b67d17c35fabf34 100644 (file)
@@ -3,7 +3,6 @@ REGISTER_WEAPON(TUBA, w_tuba, 0, 1, WEP_FLAG_HIDDEN | WEP_TYPE_SPLASH, BOT_PICKU
 #else
 #ifdef SVQC
 //#define TUBA_NOTE(n) strcat("weapons/tuba_note", ftos(n), ".wav")
-.float tuba_notecount;
 .entity tuba_note;
 .float tuba_smoketime;
 
index 861b2e01f863cdb618adab1613d1df7d260e0548..94209205ba6b6e15d0000181d5115c61818051ae 100644 (file)
@@ -298,7 +298,7 @@ float WarpZone_Camera_Send(entity to, float sendflags)
 
 float WarpZone_CheckProjectileImpact(entity player)
 {
-       vector o0, a0, v0;
+       vector o0, v0;
 
        o0 = player.origin + player.view_ofs;
        v0 = player.velocity;