summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/miscfuncs.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-02-11 16:39:06 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-02-11 16:39:06 +0000
commit6542ddc3bef8af63123de03056018004c6b53e20 (patch)
treee6718d39295c7c756f33d8ab6ef9774c8d62cf8c /winsup/cygwin/miscfuncs.cc
parent8eb981a37c6a4d64550c91611c80c7c0e2d08032 (diff)
downloadcygnal-6542ddc3bef8af63123de03056018004c6b53e20.tar.gz
cygnal-6542ddc3bef8af63123de03056018004c6b53e20.tar.bz2
cygnal-6542ddc3bef8af63123de03056018004c6b53e20.zip
* dcrt0.cc (dll_crt0_1): Fix typo in call to sys_wcstombs.
* miscfuncs.cc (next_char): Initialize ret to keep gcc happy.
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index aa922d703..e1b3a918b 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -236,7 +236,7 @@ is_cp_multibyte (UINT cp)
const unsigned char *
next_char (UINT cp, const unsigned char *str, const unsigned char *end)
{
- const unsigned char *ret;
+ const unsigned char *ret = NULL;
if (str >= end)
return end;