Skip to content

Commit

Permalink
Ignore unused parameter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
linguini1 committed May 13, 2024
1 parent 3c157ed commit 1fcf22f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/collectors/sysclock_clctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ struct sysclock_msg_t {
*/
void *sysclock_collector(void *args) {

(void)(args); // Ignore that args is unused

/* Open message queue to send data. */
mqd_t sensor_q = mq_open(SENSOR_QUEUE, O_WRONLY);
if (sensor_q == -1) {
Expand Down

0 comments on commit 1fcf22f

Please sign in to comment.