Remove an unused variable.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Dec 2008 23:27:11 +0000 (00:27 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 22 Dec 2008 23:27:11 +0000 (00:27 +0100)
ChangeLog
m4/mbrtowc.m4

index 29322df..c320655 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Remove unused variable
+       from test code.
+
 2008-12-22  Eric Blake  <ebb9@byu.net>
 
        Avoid gcc warnings on cygwin.
index 6eeacc4..da0d426 100644 (file)
@@ -1,4 +1,4 @@
-# mbrtowc.m4 serial 11
+# mbrtowc.m4 serial 12
 dnl Copyright (C) 2001-2002, 2004-2005, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -111,7 +111,6 @@ int main ()
       const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
       mbstate_t state;
       wchar_t wc;
-      int ret;
 
       memset (&state, '\0', sizeof (mbstate_t));
       if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))