forked from osmocom/wireshark
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>
This commit is contained in:
parent
d854143e8f
commit
eb439e89f1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue