Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/sb_charsets.c')
-rw-r--r--newlib/libc/stdlib/sb_charsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/sb_charsets.c b/newlib/libc/stdlib/sb_charsets.c
index 38583e572..961eb1573 100644
--- a/newlib/libc/stdlib/sb_charsets.c
+++ b/newlib/libc/stdlib/sb_charsets.c
@@ -786,7 +786,7 @@ __cp_val_index (int val)
int
__cp_index (const char *charset_ext)
{
- int cp_idx = __cp_val_index (__micro_atoi (charset_ext));
+ return __cp_val_index (__micro_atoi (charset_ext));
}
#endif /* _MB_EXTENDED_CHARSETS_WINDOWS */