Skip to content

Commit

Permalink
com32/rosh/rosh.h: remove variables set but not used
Browse files Browse the repository at this point in the history
gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
H. Peter Anvin committed Mar 16, 2011
1 parent 824437e commit 69bfb63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions com32/rosh/rosh.h
Expand Up @@ -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;
Expand Down

0 comments on commit 69bfb63

Please sign in to comment.