diff -r -u5 -N -x CVS ecos_orig/packages/language/c/libc/i18n/current/ChangeLog ecos_dev/packages/language/c/libc/i18n/current/ChangeLog
--- ecos_orig/packages/language/c/libc/i18n/current/ChangeLog	2006-08-11 13:16:36.000000000 +0100
+++ ecos_dev/packages/language/c/libc/i18n/current/ChangeLog	2006-08-21 20:52:12.218750000 +0100
@@ -1,5 +1,9 @@
+2006-08-21  Andy Jackson  <andy@xylanta.com>
+
+	* src/wcstombs.cxx (wcstombs): Fix unused variable warning.
+
 2006-08-11  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* src/wcstombs.cxx (wcstombs): Previous change should have
 	disregarded 'n'. Now fixed. Thanks to Klaas Gadeyne.
 
diff -r -u5 -N -x CVS ecos_orig/packages/language/c/libc/i18n/current/src/wcstombs.cxx ecos_dev/packages/language/c/libc/i18n/current/src/wcstombs.cxx
--- ecos_orig/packages/language/c/libc/i18n/current/src/wcstombs.cxx	2006-08-11 13:16:36.000000000 +0100
+++ ecos_dev/packages/language/c/libc/i18n/current/src/wcstombs.cxx	2006-08-21 20:48:39.984375000 +0100
@@ -192,11 +192,10 @@
       return retval;
     }
 #endif /* CYGINT_LIBC_I18N_MB_REQUIRED */
   
   int count = 0;
-  char c;
 
   if (s == NULL) {
       while (*pwcs++ != 0) {
           count++;
       }
