Skip to content
Snippets Groups Projects
Commit f371a2ca authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

fix clang compiler warning in fdset_tests

parent cea10af7
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,8 @@ void* thr_action(void *arg)
/* Write pattern. */
char pattern = WRITE_PATTERN;
/* If removes compile warning. */
if (write(*fd, &pattern, WRITE_PATTERN_LEN));
if (write(*fd, &pattern, WRITE_PATTERN_LEN))
;
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment