Silence a warning about write() result being unused.
This commit is contained in:
parent
3dbdf9d078
commit
40f08d5245
|
@ -1375,8 +1375,8 @@ main (int argc, char **argv)
|
||||||
area_t *area = area_get(press_ev->event, press_ev->detail, press_ev->event_x);
|
area_t *area = area_get(press_ev->event, press_ev->detail, press_ev->event_x);
|
||||||
// Respond to the click
|
// Respond to the click
|
||||||
if (area) {
|
if (area) {
|
||||||
write(STDOUT_FILENO, area->cmd, strlen(area->cmd));
|
(void)write(STDOUT_FILENO, area->cmd, strlen(area->cmd));
|
||||||
write(STDOUT_FILENO, "\n", 1);
|
(void)write(STDOUT_FILENO, "\n", 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user