diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-04-04 14:51:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-04-04 14:51:05 -0400 |
commit | f62b12d051d68aae8bf3c0891f8f809c1fd75e4e (patch) | |
tree | f5377637cc9fcb4cd5541e6340710a5760092093 /src/multibyte/mbsinit.c | |
parent | 40b2b5fa94d3ae27293f4d572bdcf1c3a5ef590f (diff) | |
download | musl-f62b12d051d68aae8bf3c0891f8f809c1fd75e4e.tar.gz musl-f62b12d051d68aae8bf3c0891f8f809c1fd75e4e.tar.xz musl-f62b12d051d68aae8bf3c0891f8f809c1fd75e4e.zip |
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.
Diffstat (limited to 'src/multibyte/mbsinit.c')
0 files changed, 0 insertions, 0 deletions