fix cde warn

Signed-off-by: liqiao49 <liqiao49@huawei.com>
This commit is contained in:
liqiao49
2023-07-31 20:42:47 +08:00
parent f764ef7213
commit 34541fdb6e
5 changed files with 13 additions and 18 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ void CloseFd(int& fd)
return;
}
close(fd);
fd = -1;
fd = UN_INIT_FD_VALUE;
}
int BitIsSet(const unsigned long *array, int bit)