summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-21 21:01:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-21 21:01:38 +0300
commit9decb63d5e8e3b4a080f6095233ba4b470af7bf6 (patch)
tree9e71fee2fa47b20fbb9e191fed7883c0e7276527 /src
parentc26eb48e2481603859a064ef3c2431cbfccab232 (diff)
downloadmv-9decb63d5e8e3b4a080f6095233ba4b470af7bf6.tar.gz
mv-9decb63d5e8e3b4a080f6095233ba4b470af7bf6.tar.bz2
mv-9decb63d5e8e3b4a080f6095233ba4b470af7bf6.tar.xz
mv-9decb63d5e8e3b4a080f6095233ba4b470af7bf6.zip
Add missing break.
Diffstat (limited to 'src')
-rw-r--r--src/being/playerrelations.cpp1
-rw-r--r--src/net/eathena/chatrecv.cpp1
-rw-r--r--src/net/eathena/elementalrecv.cpp1
-rw-r--r--src/net/eathena/mercenaryrecv.cpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index 8da47f36b..f7a8685e6 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -305,6 +305,7 @@ unsigned int PlayerRelationsManager::checkPermissionSilently(
case Relation::ENEMY2:
default:
permissions &= mDefaultPermissions; // narrow
+ break;
}
return permissions & flags;
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp
index 9e766be83..d52183962 100644
--- a/src/net/eathena/chatrecv.cpp
+++ b/src/net/eathena/chatrecv.cpp
@@ -627,6 +627,7 @@ void ChatRecv::processChatRoomJoinFailed(Net::MessageIn &msg)
break;
default:
UNIMPLEMENTEDPACKETFIELD(result);
+ break;
}
}
diff --git a/src/net/eathena/elementalrecv.cpp b/src/net/eathena/elementalrecv.cpp
index 802b5ade2..d5e0c6d18 100644
--- a/src/net/eathena/elementalrecv.cpp
+++ b/src/net/eathena/elementalrecv.cpp
@@ -52,6 +52,7 @@ void ElementalRecv::processElementalUpdateStatus(Net::MessageIn &msg)
default:
reportAlways("Unknown elemental stat %d",
sp);
+ break;
}
}
diff --git a/src/net/eathena/mercenaryrecv.cpp b/src/net/eathena/mercenaryrecv.cpp
index 594c96b6a..457045e5b 100644
--- a/src/net/eathena/mercenaryrecv.cpp
+++ b/src/net/eathena/mercenaryrecv.cpp
@@ -71,6 +71,7 @@ void MercenaryRecv::processMercenaryUpdate(Net::MessageIn &msg)
default:
reportAlways("Unknown mercenary stat %d",
sp);
+ break;
}
}