Avoid warning about using uninitialized variable

This commit is contained in:
Martchus 2021-12-11 23:54:57 +01:00
parent 6c7e8ae735
commit 3b0ed313bc
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ void IoTests::testBufferSearch()
});
// feed data into the search
char buffer[30];
char buffer[30] = { 0 };
bs(buffer, 0);
CPPUNIT_ASSERT(!hasResult);
std::strcpy(buffer, "Starting Updated");