From 35c1983bf127baa43fcc7bf165f86817125a2923 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 11 Oct 2016 07:08:26 +0200 Subject: options/connector: bundle can't be null at all here It's a shared_ptr stored in base_value. --- options/connector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options/connector.cpp b/options/connector.cpp index 8fa59889..242c07da 100644 --- a/options/connector.cpp +++ b/options/connector.cpp @@ -71,7 +71,7 @@ void connector::on_value_destructed(const QString& name, const base_value* val) if (!ok) qWarning() << "options/connector: value destructed without creating;" << "bundle" - << (val && val->b ? val->b->name() : "") + << val->b->name() << "value-name" << name << "value-ptr" << quintptr(val); } @@ -87,7 +87,7 @@ void connector::on_value_created(const QString& name, const base_value* val) { qWarning() << "options/connector: value created twice;" << "bundle" - << (val->b ? val->b->name() : "") + << val->b->name() << "value-name" << name << "value-ptr" << quintptr(val); } -- cgit v1.2.3