From b701a1967ccddc6ea9ac1645919fdef50a6362a0 Mon Sep 17 00:00:00 2001 From: vng Date: Tue, 14 Feb 2012 16:09:55 +0300 Subject: [PATCH] Warning fix. --- base/commands_queue.cpp | 3 ++- base/src_point.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/base/commands_queue.cpp b/base/commands_queue.cpp index 5a22f24e2f..c705dd4a99 100644 --- a/base/commands_queue.cpp +++ b/base/commands_queue.cpp @@ -158,7 +158,8 @@ namespace core CommandsQueue::~CommandsQueue() { - // @TODO memory leak in m_executors? call Cancel()? + /// @todo memory leak in m_executors? call Cancel()? + //CHECK ( m_executors == 0, () ); } void CommandsQueue::Cancel() diff --git a/base/src_point.hpp b/base/src_point.hpp index 848a4ee882..5f5503910a 100644 --- a/base/src_point.hpp +++ b/base/src_point.hpp @@ -23,7 +23,7 @@ namespace my class SrcPoint { public: - SrcPoint() : m_fileName(""), m_line(-1), m_function("") + SrcPoint() : m_fileName(""), m_line(-1), m_function(""), m_postfix("") { TruncateFileName(); }