Skip to content

Commit b626c83

Browse files
jukkarnashif
authored andcommitted
tests: net: socket: tls_configurations: err variable might be unused
Mark the err variable as possibly unsed depending on the enabled config options. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent 13d84b1 commit b626c83

File tree

1 file changed

+1
-1
lines changed
  • tests/net/socket/tls_configurations/src

1 file changed

+1
-1
lines changed

tests/net/socket/tls_configurations/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void close_socket(void)
151151

152152
static int setup_credentials(void)
153153
{
154-
int err;
154+
__maybe_unused int err;
155155

156156
#if defined(USE_CERTIFICATE)
157157
err = tls_credential_add(CA_CERTIFICATE_TAG,

0 commit comments

Comments
 (0)