]> granicus.if.org Git - taglib/commit
Correctly initialize std::mbstate_t.
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>
Mon, 29 Apr 2013 20:56:07 +0000 (23:56 +0300)
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>
Mon, 29 Apr 2013 20:56:07 +0000 (23:56 +0300)
commit289b6abb43565185a342a2d6b0a3cfea9a977be0
tree7c1a7776441ae36b25346d077ca9233dfc2f40be
parent55f1224d6e6c83873f87fbeda836317119ab0217
Correctly initialize std::mbstate_t.

mbstate_t is an opaque type that is often a union or a struct, so setting it
directly to 0 is incorrect and causes build failures with some compilers
such as clang.
taglib/toolkit/tstring.cpp