Skip to content
Commit 60331612 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Carles Cufí
Browse files

net: shell: Avoid gcc warning print with string catenation



gcc prints this warning message

'strncat' specified bound 1 equals source length [-Wstringop-overflow=]
   58 |                 strncat(fd, "C", 1);

There was no error in the code but avoid the warning by not using
strncat().

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent eb221103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment