From fa58c5e5dbac91008f683eff66c162750424889e Mon Sep 17 00:00:00 2001 From: buslov Date: Thu, 16 Nov 2017 23:15:29 +0300 Subject: [PATCH] Fix V730 warning from PVS-Studio Static Analyzer Not all members of a class are initialized inside the constructor. Consider inspecting: mPos. --- libyzis/action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyzis/action.cpp b/libyzis/action.cpp index 5fe8a65d..70f5027b 100644 --- a/libyzis/action.cpp +++ b/libyzis/action.cpp @@ -29,7 +29,7 @@ #define dbg() yzDebug("YZAction") #define err() yzError("YZAction") -YZAction::YZAction( YBuffer* buffer ) +YZAction::YZAction( YBuffer* buffer ) : mPos(NULL) { dbg() << "YZAction(" << buffer->toString() << ")" << endl; mBuffer = buffer;