消除unreadVariable:移除3处冗余变量初始化

This commit is contained in:
2026-09-01 13:45:02 +08:00
parent 5b569ea390
commit f1d5483a49
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
static int time_sync_open_listener(void)
{
int retry;
int s = -1;
int s;
for (retry = 0; retry < 5; retry++) {
s = net_socket(NET_AF_INET, NET_SOCK_STREAM);