contrib/cpukit/uuid/gen_uuid.c: Address unused parameter warnings

Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-paramter.
This commit is contained in:
Joel Sherrill
2025-09-25 19:03:27 -05:00
committed by Gedare Bloom
parent 53d6794ea5
commit cce1823e40

View File

@@ -322,6 +322,8 @@ static int get_node_id(unsigned char *node_id)
} }
} }
close(sd); close(sd);
#else
(void) node_id;
#endif #endif
return 0; return 0;
} }
@@ -578,6 +580,10 @@ static int get_uuid_via_daemon(int op, uuid_t out, int *num)
fail: fail:
close(s); close(s);
#else
(void) op;
(void) out;
(void) num;
#endif #endif
return -1; return -1;
} }