Skip to content

Commit e3080a6

Browse files
committed
fixed warnings: static method defined but not used
1 parent f58633c commit e3080a6

File tree

1 file changed

+1
-1
lines changed
  • connectivity/nanostack/sal-stack-nanostack/source/Common_Protocols

1 file changed

+1
-1
lines changed

connectivity/nanostack/sal-stack-nanostack/source/Common_Protocols/tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void tcp_test_drop_reset()
8282
}
8383
#endif
8484

85-
#ifdef FEA_TRACE_SUPPORT
85+
#if defined(FEA_TRACE_SUPPORT) && MBED_CONF_MBED_TRACE_ENABLE && (MBED_TRACE_MAX_LEVEL >= TRACE_LEVEL_DEBUG)
8686
static const char *trace_tcp_flags(uint16_t flags)
8787
{
8888
static char buf[9];

0 commit comments

Comments
 (0)