Marcus Crestani wrote:
My gcc caught an unused parameter.
src/ChangeLog addition:
2005-11-02 Marcus Crestani <crestani(a)xemacs.org>
* realpath.c (readlink_or_correct_case): Mark parameter as unused.
xemacs-21.5 source patch:
Diff command: cvs -q diff -u
Files affected: src/realpath.c
Index: src/realpath.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/realpath.c,v
retrieving revision 1.21
diff -u -r1.21 realpath.c
--- src/realpath.c 28 Jan 2005 02:36:26 -0000 1.21
+++ src/realpath.c 2 Nov 2005 02:41:57 -0000
@@ -80,7 +80,11 @@
static int
readlink_or_correct_case (const Ibyte *name, Ibyte *buf, Bytecount size,
+#ifndef WIN32_ANY
+ Boolint UNUSED (links_only))
+#else
Boolint links_only)
+#endif
{
#ifndef WIN32_ANY
return qxe_readlink (name, buf, (size_t) size);
it would be better if you could put the closing paren outside the ifdef,
to keep the paren count clean.