From 3ac81fa84a3d1866c74ccb051c0661329bff774e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Apr 2016 17:10:59 +0300 Subject: Remove quotes from pragmas. --- src/gui/windows/charcreatedialog.cpp | 6 +++--- src/gui/windows/charselectdialog.cpp | 6 +++--- src/gui/windows/chatwindow.cpp | 6 +++--- src/gui/windows/killstats.cpp | 6 +++--- src/gui/windows/ministatuswindow.cpp | 6 +++--- src/gui/windows/quitdialog.cpp | 6 +++--- src/gui/windows/serverdialog.cpp | 6 +++--- src/gui/windows/statuswindow.cpp | 6 +++--- src/gui/windows/whoisonline.cpp | 6 +++--- 9 files changed, 27 insertions(+), 27 deletions(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 028e8cbab..01132aa86 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -825,8 +825,8 @@ void CharCreateDialog::updatePlayer() void CharCreateDialog::keyPressed(KeyEvent &event) { const InputActionT actionId = event.getActionId(); - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (actionId) { case InputAction::GUI_CANCEL: @@ -838,7 +838,7 @@ void CharCreateDialog::keyPressed(KeyEvent &event) default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) } void CharCreateDialog::setButtonsPosition(const int w, const int h) diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 95bb964d1..c71d0eb52 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -337,8 +337,8 @@ void CharSelectDialog::use(const int selected) void CharSelectDialog::keyPressed(KeyEvent &event) { const InputActionT actionId = event.getActionId(); - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (actionId) { case InputAction::GUI_CANCEL: @@ -428,7 +428,7 @@ void CharSelectDialog::keyPressed(KeyEvent &event) default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) } /** diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index fe20fe935..b3a0ced78 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -994,8 +994,8 @@ void ChatWindow::attributeChanged(const AttributesT id, { if (!mShowBattleEvents) return; - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (id) { case Attributes::EXP: @@ -1018,7 +1018,7 @@ void ChatWindow::attributeChanged(const AttributesT id, default: break; }; - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) } void ChatWindow::addInputText(const std::string &text, const bool space) diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp index 0269f9fcb..0be2044ae 100644 --- a/src/gui/windows/killstats.cpp +++ b/src/gui/windows/killstats.cpp @@ -405,8 +405,8 @@ void KillStats::attributeChanged(const AttributesT id, const int oldVal, const int newVal) { - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (id) { case Attributes::EXP: @@ -438,5 +438,5 @@ void KillStats::attributeChanged(const AttributesT id, default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) } diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 6dd427a98..6bf43d216 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -270,8 +270,8 @@ void MiniStatusWindow::attributeChanged(const AttributesT id, const int oldVal A_UNUSED, const int newVal A_UNUSED) { - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (id) { case Attributes::HP: @@ -296,7 +296,7 @@ void MiniStatusWindow::attributeChanged(const AttributesT id, default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) } void MiniStatusWindow::updateStatus() diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp index cda477346..c1901c5a2 100644 --- a/src/gui/windows/quitdialog.cpp +++ b/src/gui/windows/quitdialog.cpp @@ -205,8 +205,8 @@ void QuitDialog::keyPressed(KeyEvent &event) const InputActionT actionId = event.getActionId(); int dir = 0; - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (actionId) { case InputAction::GUI_SELECT: @@ -225,7 +225,7 @@ void QuitDialog::keyPressed(KeyEvent &event) default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) if (dir != 0) { diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index f03d28f03..dac370887 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -306,8 +306,8 @@ void ServerDialog::action(const ActionEvent &event) void ServerDialog::keyPressed(KeyEvent &event) { - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (event.getActionId()) { case InputAction::GUI_CANCEL: @@ -352,7 +352,7 @@ void ServerDialog::keyPressed(KeyEvent &event) default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) if (!event.isConsumed()) mServersList->keyPressed(event); } diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index e2c65f827..cc50c719e 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -310,8 +310,8 @@ void StatusWindow::attributeChanged(const AttributesT id, const int oldVal A_UNUSED, const int newVal) { - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (id) { case Attributes::HP: @@ -371,7 +371,7 @@ void StatusWindow::attributeChanged(const AttributesT id, default: break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) } void StatusWindow::setPointsNeeded(const AttributesT id, diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 2698ef918..0bc7e3703 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -565,8 +565,8 @@ int WhoIsOnline::downloadThread(void *ptr) if ((res = curl_easy_perform(curl)) != 0) { wio->mDownloadStatus = UPDATE_ERROR; - PRAGMA45("GCC diagnostic push") - PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"") + PRAGMA45(GCC diagnostic push) + PRAGMA45(GCC diagnostic ignored "-Wswitch-enum") switch (res) { case CURLE_COULDNT_CONNECT: @@ -577,7 +577,7 @@ int WhoIsOnline::downloadThread(void *ptr) << url.c_str() << std::endl; break; } - PRAGMA45("GCC diagnostic pop") + PRAGMA45(GCC diagnostic pop) attempts++; curl_easy_cleanup(curl); curl_slist_free_all(pHeaders); -- cgit v1.2.3-60-g2f50