Companion GCC8 warnings removed

This commit is contained in:
Bertrand Songis
2018-08-05 19:33:28 +02:00
parent 8a51682190
commit 2c47883cc2
11 changed files with 26 additions and 26 deletions
@@ -26,7 +26,7 @@
void CustomFunctionData::clear()
{
memset(this, 0, sizeof(CustomFunctionData));
memset(reinterpret_cast<void *>(this), 0, sizeof(CustomFunctionData));
if (!getCurrentFirmware()->getCapability(SafetyChannelCustomFunction)) {
func = FuncTrainer;
}