Skip to content

Commit

Permalink
Initalize uninitalised variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Oct 10, 2023
1 parent b6f09b6 commit b692e66
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/control/controlcompressingproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ constexpr int kMaxNumOfRecursions = 128;
CompressingProxy::CompressingProxy(const ConfigKey& key,
const RuntimeLoggingCategory& logger,
QObject* pParent)
: QObject(pParent), m_key(key), m_logger(logger), m_recursionDepth(0) {
: QObject(pParent),
m_key(key),
m_logger(logger),
m_recursiveSearchForLastEventOngoing(false),
m_recursionDepth(0) {
}

// This function is called recursive by QCoreApplication::sendPostedEvents, until no more events are in the queue.
Expand Down

0 comments on commit b692e66

Please sign in to comment.