mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 08:22:50 +02:00
code cleanup from clang warnings
This commit is contained in:
@@ -287,7 +287,7 @@ void Gui::mouseDownRightGraphics(int x, int y , bool prepared) {
|
|||||||
}
|
}
|
||||||
else if(selection.isCommandable()) {
|
else if(selection.isCommandable()) {
|
||||||
if(prepared) {
|
if(prepared) {
|
||||||
Vec2i targetPos=game->getMouseCellPos();
|
//Vec2i targetPos=game->getMouseCellPos();
|
||||||
givePreparedDefaultOrders(x, y);
|
givePreparedDefaultOrders(x, y);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@@ -436,7 +436,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
const bool debugMutexLock = false;
|
const bool debugMutexLock = false;
|
||||||
const int debugMutexLockMillisecondThreshold = 2000;
|
//const int debugMutexLockMillisecondThreshold = 2000;
|
||||||
|
|
||||||
Mutex::Mutex(string ownerId) {
|
Mutex::Mutex(string ownerId) {
|
||||||
this->isStaticMutexListMutex = false;
|
this->isStaticMutexListMutex = false;
|
||||||
|
Reference in New Issue
Block a user