projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffd13a
)
ignore return values
author
Christian Grothoff
<christian@grothoff.org>
Thu, 31 Mar 2011 13:23:33 +0000
(13:23 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 31 Mar 2011 13:23:33 +0000
(13:23 +0000)
src/util/scheduler.c
patch
|
blob
|
history
diff --git
a/src/util/scheduler.c
b/src/util/scheduler.c
index 025c591e835601719ca291482f5b84890c43559b..0ba8dbfdafb895337ccede474eebd3b25244eb7c 100644
(file)
--- a/
src/util/scheduler.c
+++ b/
src/util/scheduler.c
@@
-771,9
+771,9
@@
GNUNET_SCHEDULER_run (GNUNET_SCHEDULER_Task task, void *task_cls)
#if USE_LSOF
char lsof[512];
snprintf (lsof, sizeof (lsof), "lsof -p %d", getpid());
- close (1);
- dup2 (2, 1);
- ret = system (lsof);
+
(void)
close (1);
+
(void)
dup2 (2, 1);
+ (void) system (lsof);
#endif
#endif
abort ();