diff options
author | Mika Westerberg <mika.westerberg@iki.fi> | 2009-02-11 18:08:53 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2009-02-16 11:50:38 +0200 |
commit | 62069df3295543a399a1aa4bb70e55a4be72cd2e (patch) | |
tree | 45821d9203517fb83c602f37ce2e8cd3db97958f /preload | |
parent | 2eff90e1a530f30e29bac47196ad5a0b86640f01 (diff) |
Corrected few compilation warnings.
Signed-off-by: Lauri Aarnio <Lauri.Aarnio@iki.fi>
Diffstat (limited to 'preload')
-rw-r--r-- | preload/fdpathdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/preload/fdpathdb.c b/preload/fdpathdb.c index 4b51e76..f60bf9a 100644 --- a/preload/fdpathdb.c +++ b/preload/fdpathdb.c @@ -262,6 +262,7 @@ void dup2_postprocess_(const char *realfnname, int ret, int fd, int fd2) void close_postprocess_(const char *realfnname, int ret, int fd) { + (void)ret; fdpathdb_register_mapped_path(realfnname, fd, NULL, NULL); } @@ -270,6 +271,9 @@ void fcntl_postprocess_(const char *realfnname, int ret, { const char *cp = NULL; + (void)cp; + (void)arg; + switch (cmd) { case F_DUPFD: #ifdef F_DUPFD_CLOEXEC |