diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-03-16 13:10:36 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-03-16 13:10:36 -0700 |
commit | 69bfb639e482436c268ebbe47dcb29a6a9b8fdfb (patch) | |
tree | f8f4e6fc37234bd214b5e19c3a2e8b3e31d40c79 /com32/rosh | |
parent | 824437efc8bb66c7923d00d8cb4daec7d6740d08 (diff) | |
download | syslinux-69bfb639e482436c268ebbe47dcb29a6a9b8fdfb.tar.gz |
com32/rosh/rosh.h: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/rosh')
-rw-r--r-- | com32/rosh/rosh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/rosh/rosh.h b/com32/rosh/rosh.h index 87c15b7d..415a9fbc 100644 --- a/com32/rosh/rosh.h +++ b/com32/rosh/rosh.h @@ -95,6 +95,7 @@ int stat(const char *pathname, struct stat *buf) if (fd != -1) { ROSH_DEBUG2_STAT("(%d)stat:fstat() ", fd); status = fstat(fd, buf); + (void)status; ROSH_DEBUG2_STAT("stat:close() "); close(fd); ret = 0; |