Przeglądaj źródła

unused variable

David Rose 21 lat temu
rodzic
commit
de8da3d285
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      panda/src/tform/driveInterface.cxx

+ 2 - 2
panda/src/tform/driveInterface.cxx

@@ -402,7 +402,7 @@ do_transmit_data(const DataNodeTransmit &input, DataNodeTransmit &output) {
   double x = 0.0f;
   double y = 0.0f;
 
-  bool got_mouse = false;
+  //bool got_mouse = false;
 
   if (required_buttons_match && input.has_data(_xy_input)) {
     const EventStoreVec2 *xy;
@@ -411,7 +411,7 @@ do_transmit_data(const DataNodeTransmit &input, DataNodeTransmit &output) {
     x = p[0];
     y = p[1];
 
-    got_mouse = true;
+    //got_mouse = true;
   }
 
   // Look for keyboard events.