mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Explicit ignore result of read/write in oom wrapper
This commit is contained in:
parent
b281f6627a
commit
2a433cb00d
1 changed files with 2 additions and 2 deletions
|
|
@ -424,8 +424,8 @@ void addparentstats(struct dir *d, int64_t size, int64_t asize, uint64_t mtime,
|
||||||
char buf[128];\
|
char buf[128];\
|
||||||
while((ptr = f) == NULL) {\
|
while((ptr = f) == NULL) {\
|
||||||
close_nc();\
|
close_nc();\
|
||||||
write(2, oom_msg, sizeof(oom_msg));\
|
(void) !write(2, oom_msg, sizeof(oom_msg));\
|
||||||
read(0, buf, sizeof(buf));\
|
(void) !read(0, buf, sizeof(buf));\
|
||||||
}\
|
}\
|
||||||
return ptr;
|
return ptr;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue