gio/tests/memory-output-stream.c: Avoid an uninitialized variable
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 15 Nov 2013 05:00:55 +0000 (13:00 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 27 Nov 2013 00:01:47 +0000 (08:01 +0800)
commitb9322bf9abe2e61718b2b1c57aa09b18946a2d35
treec9edf11c322a87d4715fb770bb8874dd20d26793
parent29b66e1458113e1786209f5784f919082d22c618
gio/tests/memory-output-stream.c: Avoid an uninitialized variable

Be a little bit more careful in regards to initializing a primitive type
variable before passing it by reference, as it could have random stuff
in the variable's address depending on the CRT, such as MSVCR110.DLL,
causing random, invalid stuff being written in that address.

This will fix this test when built with Visual Studio 2012.

https://bugzilla.gnome.org/show_bug.cgi?id=711047
gio/tests/memory-output-stream.c