changeset 3042:967fea9dfad5

[xemacs-hg @ 2005-11-02 03:30:17 by crestani] * realpath.c (readlink_or_correct_case): Mark parameter as unused.
author crestani
date Wed, 02 Nov 2005 03:30:19 +0000
parents 876730d84b73
children bceaa7825d9d
files src/ChangeLog src/realpath.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Nov 02 03:26:52 2005 +0000
+++ b/src/ChangeLog	Wed Nov 02 03:30:19 2005 +0000
@@ -1,3 +1,7 @@
+2005-11-02  Marcus Crestani  <crestani@xemacs.org>
+
+	* realpath.c (readlink_or_correct_case): Mark parameter as unused.
+
 2005-10-29  Steve Youngs  <steve@sxemacs.org>
 
 	* unexelf.c (unexec): Fix data types.
--- a/src/realpath.c	Wed Nov 02 03:26:52 2005 +0000
+++ b/src/realpath.c	Wed Nov 02 03:30:19 2005 +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);