Initialize unused variable in FileKindTestCase to avoid a warning
Avoid -Wmaybe-uninitialized from gcc 11.
This commit is contained in:
parent
8064abb0d6
commit
c1a573d216
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ void FileKindTestCase::SocketStream()
|
|||
//
|
||||
void FileKindTestCase::MemoryStream()
|
||||
{
|
||||
char buf[20];
|
||||
char buf[20] = { 0 };
|
||||
wxMemoryInputStream inStream(buf, sizeof(buf));
|
||||
CPPUNIT_ASSERT(inStream.IsSeekable());
|
||||
wxMemoryOutputStream outStream(buf, sizeof(buf));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue