[pypy-svn] pypy default: Explicitly ignore the return value.
arigo
commits-noreply at bitbucket.org
Thu Jan 27 13:58:59 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r41385:a901a18e37b1
Date: 2011-01-27 13:27 +0100
http://bitbucket.org/pypy/pypy/changeset/a901a18e37b1/
Log: Explicitly ignore the return value.
diff --git a/pypy/translator/c/src/signals.h b/pypy/translator/c/src/signals.h
--- a/pypy/translator/c/src/signals.h
+++ b/pypy/translator/c/src/signals.h
@@ -117,8 +117,11 @@
pypysig_counter.value = -1;
}
- if (wakeup_fd != -1)
- write(wakeup_fd, "\0", 1);
+ if (wakeup_fd != -1)
+ {
+ write(wakeup_fd, "\0", 1);
+ /* the return value is ignored here */
+ }
}
void pypysig_setflag(int signum)
More information about the Pypy-commit
mailing list