summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-18 21:11:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-18 21:11:43 +0300
commit7a0ac46d7e5c5a514463c95b5c4d0c7f13c022c9 (patch)
treea4f136272f5b52a1c425429a36755bd06ddd1ba0 /src/net
parentb4fcb4e1b208b6127ca28412d1a75f1ef30d1f85 (diff)
downloadmv-7a0ac46d7e5c5a514463c95b5c4d0c7f13c022c9.tar.gz
mv-7a0ac46d7e5c5a514463c95b5c4d0c7f13c022c9.tar.bz2
mv-7a0ac46d7e5c5a514463c95b5c4d0c7f13c022c9.tar.xz
mv-7a0ac46d7e5c5a514463c95b5c4d0c7f13c022c9.zip
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/buysellrecv.cpp2
-rw-r--r--src/net/ea/inventoryrecv.cpp1
-rw-r--r--src/net/eathena/auctionhandler.cpp2
-rw-r--r--src/net/eathena/buyingstorehandler.cpp2
-rw-r--r--src/net/eathena/buyingstorerecv.cpp2
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
-rw-r--r--src/net/eathena/inventoryrecv.cpp2
-rw-r--r--src/net/eathena/mailhandler.cpp2
-rw-r--r--src/net/eathena/npchandler.cpp1
-rw-r--r--src/net/eathena/petrecv.cpp2
-rw-r--r--src/net/eathena/skillrecv.cpp2
-rw-r--r--src/net/eathena/tradehandler.cpp2
-rw-r--r--src/net/eathena/vendinghandler.cpp2
-rw-r--r--src/net/tmwa/inventoryhandler.cpp2
-rw-r--r--src/net/tmwa/inventoryrecv.cpp1
-rw-r--r--src/net/tmwa/npchandler.cpp1
-rw-r--r--src/net/tmwa/skillrecv.cpp2
-rw-r--r--src/net/tmwa/tradehandler.cpp2
-rw-r--r--src/net/tmwa/traderecv.cpp1
19 files changed, 0 insertions, 33 deletions
diff --git a/src/net/ea/buysellrecv.cpp b/src/net/ea/buysellrecv.cpp
index 27e74ba6d..8ec0e86b0 100644
--- a/src/net/ea/buysellrecv.cpp
+++ b/src/net/ea/buysellrecv.cpp
@@ -40,8 +40,6 @@
#include "net/messagein.h"
-#include "net/ea/eaprotocol.h"
-
#include "debug.h"
namespace Ea
diff --git a/src/net/ea/inventoryrecv.cpp b/src/net/ea/inventoryrecv.cpp
index 65ba9078d..73210a0e5 100644
--- a/src/net/ea/inventoryrecv.cpp
+++ b/src/net/ea/inventoryrecv.cpp
@@ -37,7 +37,6 @@
#include "net/inventoryhandler.h"
#include "net/messagein.h"
-#include "net/ea/eaprotocol.h"
#include "net/ea/equipbackend.h"
#include "utils/delete2.h"
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp
index 79d72ebc0..02e903929 100644
--- a/src/net/eathena/auctionhandler.cpp
+++ b/src/net/eathena/auctionhandler.cpp
@@ -24,8 +24,6 @@
#include "const/net/inventory.h"
-#include "net/ea/eaprotocol.h"
-
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp
index 682cc68cb..8ff7f65bb 100644
--- a/src/net/eathena/buyingstorehandler.cpp
+++ b/src/net/eathena/buyingstorehandler.cpp
@@ -27,8 +27,6 @@
#include "const/net/inventory.h"
-#include "net/ea/eaprotocol.h"
-
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
diff --git a/src/net/eathena/buyingstorerecv.cpp b/src/net/eathena/buyingstorerecv.cpp
index 0dd2096c1..13054c2c3 100644
--- a/src/net/eathena/buyingstorerecv.cpp
+++ b/src/net/eathena/buyingstorerecv.cpp
@@ -42,8 +42,6 @@
#include "net/messagein.h"
-#include "net/ea/eaprotocol.h"
-
#include "debug.h"
namespace EAthena
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 76dc02800..706d286f1 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -33,8 +33,6 @@
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
-#include "net/ea/eaprotocol.h"
-
#include "debug.h"
extern Net::InventoryHandler *inventoryHandler;
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index 91dd66fb9..b4a7e91cc 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -48,7 +48,6 @@
#include "net/eathena/itemflags.h"
#include "net/eathena/menu.h"
-#include "net/ea/eaprotocol.h"
#include "net/ea/equipbackend.h"
#include "net/ea/inventoryrecv.h"
@@ -924,7 +923,6 @@ void InventoryRecv::processPlayerRefine(Net::MessageIn &msg)
const Inventory *const inv = PlayerInfo::getInventory();
const Item *item = nullptr;
int notifyType;
- std::string message;
std::string itemName;
if (inv)
item = inv->getItem(index);
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 14fa96073..96140b739 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -22,8 +22,6 @@
#include "const/net/inventory.h"
-#include "net/ea/eaprotocol.h"
-
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index 7ec98f382..5a267c25e 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -34,7 +34,6 @@
#include "net/messagein.h"
-#include "net/ea/eaprotocol.h"
#include "net/ea/npcrecv.h"
#include "net/eathena/messageout.h"
diff --git a/src/net/eathena/petrecv.cpp b/src/net/eathena/petrecv.cpp
index 474c0315b..b0bd19e1d 100644
--- a/src/net/eathena/petrecv.cpp
+++ b/src/net/eathena/petrecv.cpp
@@ -40,8 +40,6 @@
#include "net/inventoryhandler.h"
#include "net/messagein.h"
-#include "net/ea/eaprotocol.h"
-
#include "net/eathena/menu.h"
#include "utils/gettext.h"
diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp
index 5ebf59178..edb776ad1 100644
--- a/src/net/eathena/skillrecv.cpp
+++ b/src/net/eathena/skillrecv.cpp
@@ -41,8 +41,6 @@
#include "net/messagein.h"
-#include "net/ea/skillrecv.h"
-
#include "net/eathena/menu.h"
#include "resources/iteminfo.h"
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index 801cdc51e..6c3026e7b 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -32,8 +32,6 @@
#include "net/eathena/protocolout.h"
#include "net/eathena/traderecv.h"
-#include "net/ea/eaprotocol.h"
-
#include "debug.h"
extern Net::TradeHandler *tradeHandler;
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp
index 6e387317d..5a0661ae4 100644
--- a/src/net/eathena/vendinghandler.cpp
+++ b/src/net/eathena/vendinghandler.cpp
@@ -27,8 +27,6 @@
#include "const/net/inventory.h"
-#include "net/ea/eaprotocol.h"
-
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
#include "net/eathena/vendingrecv.h"
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 189eae351..ea4d27804 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -31,8 +31,6 @@
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocolout.h"
-#include "net/ea/eaprotocol.h"
-
#include "debug.h"
extern Net::InventoryHandler *inventoryHandler;
diff --git a/src/net/tmwa/inventoryrecv.cpp b/src/net/tmwa/inventoryrecv.cpp
index ee5323095..4ff6725dd 100644
--- a/src/net/tmwa/inventoryrecv.cpp
+++ b/src/net/tmwa/inventoryrecv.cpp
@@ -34,7 +34,6 @@
#include "net/messagein.h"
-#include "net/ea/eaprotocol.h"
#include "net/ea/equipbackend.h"
#include "net/ea/inventoryrecv.h"
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index eac7c883d..55c94b1a1 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -35,7 +35,6 @@
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocolout.h"
-#include "net/ea/eaprotocol.h"
#include "net/ea/npcrecv.h"
#include "debug.h"
diff --git a/src/net/tmwa/skillrecv.cpp b/src/net/tmwa/skillrecv.cpp
index 1713ba301..f8b6962ff 100644
--- a/src/net/tmwa/skillrecv.cpp
+++ b/src/net/tmwa/skillrecv.cpp
@@ -35,8 +35,6 @@
#include "net/messagein.h"
-#include "net/ea/skillrecv.h"
-
#include "utils/gettext.h"
#include "debug.h"
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 7a4161388..ebdd56fb6 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -31,8 +31,6 @@
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocolout.h"
-#include "net/ea/eaprotocol.h"
-
#include "debug.h"
extern Net::TradeHandler *tradeHandler;
diff --git a/src/net/tmwa/traderecv.cpp b/src/net/tmwa/traderecv.cpp
index d5e6ab586..db27d7800 100644
--- a/src/net/tmwa/traderecv.cpp
+++ b/src/net/tmwa/traderecv.cpp
@@ -39,7 +39,6 @@
#include "net/messagein.h"
#include "net/tradehandler.h"
-#include "net/ea/eaprotocol.h"
#include "net/ea/traderecv.h"
#include "utils/stringutils.h"