[syslinux:master] com32/lib: fix unused argument warning in fdopendir()

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Jan 10 13:24:04 PST 2010


Commit-ID:  bd938bd98412ec9d0c24856be45110078f1ad1ae
Gitweb:     http://syslinux.zytor.com/commit/bd938bd98412ec9d0c24856be45110078f1ad1ae
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 10 Jan 2010 12:56:07 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 10 Jan 2010 12:56:07 -0800

com32/lib: fix unused argument warning in fdopendir()

fdopendir() is a stub, and probably will remain such.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 com32/lib/fdopendir.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/com32/lib/fdopendir.c b/com32/lib/fdopendir.c
index 5fe1161..4fc3138 100644
--- a/com32/lib/fdopendir.c
+++ b/com32/lib/fdopendir.c
@@ -8,6 +8,8 @@
 
 DIR *fdopendir(int __fd)
 {
+    (void)__fd;
+
     errno = ENOSYS;
     return NULL;
 }



More information about the Syslinux-commits mailing list