minor optimization to mbstowcs
authorRich Felker <dalias@aerifal.cx>
Thu, 4 Apr 2013 18:51:05 +0000 (14:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 4 Apr 2013 18:51:05 +0000 (14:51 -0400)
commitf62b12d051d68aae8bf3c0891f8f809c1fd75e4e
treef5377637cc9fcb4cd5541e6340710a5760092093
parent40b2b5fa94d3ae27293f4d572bdcf1c3a5ef590f
minor optimization to mbstowcs

there is no need to zero-fill an mbstate_t object in the caller;
mbsrtowcs will automatically treat a null pointer as the initial
state.
src/multibyte/mbstowcs.c