]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/clientiface.cpp
Fix all warnings and remove -Wno-unused-but-set cflag
[dragonfireclient.git] / src / clientiface.cpp
index 1383d0b84a5f8b53e01986b928cb8efb4d797650..40d1ef811305c1a834434a097ba91cb6d654c69f 100644 (file)
@@ -179,7 +179,7 @@ void RemoteClient::GetNextBlocks(
        s32 nearest_emerged_d = -1;
        s32 nearest_emergefull_d = -1;
        s32 nearest_sent_d = -1;
-       bool queue_is_full = false;
+       //bool queue_is_full = false;
 
        s16 d;
        for(d = d_start; d <= d_max; d++)
@@ -214,7 +214,7 @@ void RemoteClient::GetNextBlocks(
                        // Don't select too many blocks for sending
                        if(num_blocks_selected >= max_simul_dynamic)
                        {
-                               queue_is_full = true;
+                               //queue_is_full = true;
                                goto queue_full_break;
                        }