mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
fix compilation with GCC12
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
2ac7b9d408
commit
850a75c182
2 changed files with 1 additions and 11 deletions
|
|
@ -70,11 +70,6 @@ void *receive_msg(void *args) {
|
|||
continue;
|
||||
}
|
||||
|
||||
// TODO: recv_string is a fixed array. Should test be here?
|
||||
if (recv_string == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (strlen(recv_string) <= 0) {
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -93,11 +88,6 @@ void *receive_msg_enc(void *args) {
|
|||
continue;
|
||||
}
|
||||
|
||||
// TODO: recv_string is a fixed array. Should test be here?
|
||||
if (recv_string == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (strlen(recv_string) <= 0) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue