Skip to content

Commit ff14e80

Browse files
Naveen KajeArto Kinnunen
authored andcommitted
(via Mbed OS) nanostack: icmpv6: fix build warning
Fix the following build warning seen when building with GCC Compile [ 54.2%]: icmpv6.c [Warning] icmpv6.c@1091,16: this statement may fall through [-Wimplicit-fallthrough=]
1 parent f5e3423 commit ff14e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Common_Protocols/icmpv6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,15 +1106,15 @@ buffer_t *icmpv6_up(buffer_t *buf)
11061106

11071107
case ICMPV6_TYPE_INFO_ECHO_REPLY:
11081108
ipv6_neighbour_reachability_confirmation(buf->src_sa.address, buf->interface->id);
1109-
/* fall through */
1109+
/* fall through */
11101110

11111111
case ICMPV6_TYPE_ERROR_DESTINATION_UNREACH:
11121112
#ifdef HAVE_RPL_ROOT
11131113
if (buf->options.type == ICMPV6_TYPE_ERROR_DESTINATION_UNREACH && buf->options.code == ICMPV6_CODE_DST_UNREACH_SRC_RTE_HDR_ERR) {
11141114
buf = rpl_control_source_route_error_handler(buf, cur);
11151115
}
11161116
#endif
1117-
/* fall through */
1117+
/* fall through */
11181118

11191119
default:
11201120
if (buf) {

0 commit comments

Comments
 (0)