projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
824437e
)
com32/rosh/rosh.h: remove variables set but not used
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 16 Mar 2011 20:10:36 +0000
(13:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 16 Mar 2011 20:10:36 +0000
(13:10 -0700)
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/rosh/rosh.h
patch
|
blob
|
history
diff --git
a/com32/rosh/rosh.h
b/com32/rosh/rosh.h
index
87c15b7
..
415a9fb
100644
(file)
--- 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;