summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quacker/movebox.cpp2
-rw-r--r--quacker/quacker.pro4
-rw-r--r--quackleio/quackleio.pro4
3 files changed, 8 insertions, 2 deletions
diff --git a/quacker/movebox.cpp b/quacker/movebox.cpp
index 3e29c5d..83816d8 100644
--- a/quacker/movebox.cpp
+++ b/quacker/movebox.cpp
@@ -164,7 +164,6 @@ void MoveBox::setMoves(const Quackle::MoveList &moves, const Quackle::Move &sele
resorted = true;
}
- bool hasOldItems = false;
bool hasNewItems = false;
Quackle::MoveList::const_iterator end(moves.end());
@@ -183,7 +182,6 @@ void MoveBox::setMoves(const Quackle::MoveList &moves, const Quackle::Move &sele
m_treeWidget->addTopLevelItem(m_treeWidget->takeTopLevelItem(m_treeWidget->indexOfTopLevelItem(mapIt.value())));
}
- hasOldItems = true;
goto foundFirstPass;
}
}
diff --git a/quacker/quacker.pro b/quacker/quacker.pro
index 6466c60..9fad721 100644
--- a/quacker/quacker.pro
+++ b/quacker/quacker.pro
@@ -60,3 +60,7 @@ macx {
macx-g++ {
QMAKE_CXXFLAGS += -fpermissive
}
+
+unix {
+ QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
+}
diff --git a/quackleio/quackleio.pro b/quackleio/quackleio.pro
index 62af60d..3666134 100644
--- a/quackleio/quackleio.pro
+++ b/quackleio/quackleio.pro
@@ -39,3 +39,7 @@ macx-g++ {
macx-xcode {
CONFIG += x86
}
+
+unix {
+ QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
+}