From 0a5f7424660e404e5fd0361b9331d154acf01d6c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 20 Oct 2008 13:53:23 +0000 Subject: Marked all unused args on non-W32 platforms. --- jnlib/stringhelp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'jnlib/stringhelp.c') diff --git a/jnlib/stringhelp.c b/jnlib/stringhelp.c index 50e869cea..b13d8b001 100644 --- a/jnlib/stringhelp.c +++ b/jnlib/stringhelp.c @@ -237,11 +237,12 @@ length_sans_trailing_ws (const unsigned char *line, size_t len) char * make_basename(const char *filepath, const char *inputpath) { - char *p; - #ifdef __riscos__ return riscos_make_basename(filepath, inputpath); -#endif +#else + char *p; + + (void)inputpath; /* Only required for riscos. */ if ( !(p=strrchr(filepath, '/')) ) #ifdef HAVE_DRIVE_LETTERS @@ -253,6 +254,7 @@ make_basename(const char *filepath, const char *inputpath) } return jnlib_xstrdup(p+1); +#endif } -- cgit v1.2.3