aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2020-03-24 10:50:26 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2020-03-24 12:59:27 +0000
commiteb439e89f13913ce98d706ac6741eea6d00b8d73 (patch)
tree192adad906aa908f3b624353e219590834d04b10
parentd854143e8fa49aea130a0dfa995fe7466076b7c8 (diff)
wslua: WSLUA_BIT_OP_FUNC macro already does return .
epan/wslua/wslua_int64.c:445: style: Consecutive return, break, continue, goto or throw statements are unnecessary. epan/wslua/wslua_int64.c:454: style: Consecutive return, break, continue, goto or throw statements are unnecessary. epan/wslua/wslua_int64.c:463: style: Consecutive return, break, continue, goto or throw statements are unnecessary. epan/wslua/wslua_int64.c:966: style: Consecutive return, break, continue, goto or throw statements are unnecessary. epan/wslua/wslua_int64.c:975: style: Consecutive return, break, continue, goto or throw statements are unnecessary. epan/wslua/wslua_int64.c:984: style: Consecutive return, break, continue, goto or throw statements are unnecessary. Change-Id: I98d8c07cb13c523ba21469b7ad84ff4738764d49 Reviewed-on: https://code.wireshark.org/review/36556 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
-rw-r--r--epan/wslua/wslua_int64.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/epan/wslua/wslua_int64.c b/epan/wslua/wslua_int64.c
index 0bc05d33e2..803a09d403 100644
--- a/epan/wslua/wslua_int64.c
+++ b/epan/wslua/wslua_int64.c
@@ -442,7 +442,6 @@ WSLUA_METHOD Int64_band(lua_State* L) {
@since 1.11.3
*/
WSLUA_BIT_OP_FUNC(Int64,&=);
- WSLUA_RETURN(1); /* The `Int64` object. */
}
WSLUA_METHOD Int64_bor(lua_State* L) {
@@ -451,7 +450,6 @@ WSLUA_METHOD Int64_bor(lua_State* L) {
@since 1.11.3
*/
WSLUA_BIT_OP_FUNC(Int64,|=);
- WSLUA_RETURN(1); /* The `Int64` object. */
}
WSLUA_METHOD Int64_bxor(lua_State* L) {
@@ -460,7 +458,6 @@ WSLUA_METHOD Int64_bxor(lua_State* L) {
@since 1.11.3
*/
WSLUA_BIT_OP_FUNC(Int64,^=);
- WSLUA_RETURN(1); /* The `Int64` object. */
}
WSLUA_METHOD Int64_lshift(lua_State* L) {
@@ -963,7 +960,6 @@ WSLUA_METHOD UInt64_band(lua_State* L) {
@since 1.11.3
*/
WSLUA_BIT_OP_FUNC(UInt64,&=);
- WSLUA_RETURN(1); /* The `UInt64` object. */
}
WSLUA_METHOD UInt64_bor(lua_State* L) {
@@ -972,7 +968,6 @@ WSLUA_METHOD UInt64_bor(lua_State* L) {
@since 1.11.3
*/
WSLUA_BIT_OP_FUNC(UInt64,|=);
- WSLUA_RETURN(1); /* The `UInt64` object. */
}
WSLUA_METHOD UInt64_bxor(lua_State* L) {
@@ -981,7 +976,6 @@ WSLUA_METHOD UInt64_bxor(lua_State* L) {
@since 1.11.3
*/
WSLUA_BIT_OP_FUNC(UInt64,^=);
- WSLUA_RETURN(1); /* The `UInt64` object. */
}
WSLUA_METHOD UInt64_lshift(lua_State* L) {