Silence a warning about write() result being unused.

This commit is contained in:
LemonBoy 2016-04-23 09:06:00 +02:00
parent 3dbdf9d078
commit 40f08d5245
1 changed files with 2 additions and 2 deletions

View File

@ -1375,8 +1375,8 @@ main (int argc, char **argv)
area_t *area = area_get(press_ev->event, press_ev->detail, press_ev->event_x);
// Respond to the click
if (area) {
write(STDOUT_FILENO, area->cmd, strlen(area->cmd));
write(STDOUT_FILENO, "\n", 1);
(void)write(STDOUT_FILENO, area->cmd, strlen(area->cmd));
(void)write(STDOUT_FILENO, "\n", 1);
}
}
break;