summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-10-11 07:01:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-10-11 07:01:27 +0200
commit4f422997c26278963217029a6875939b595d0ede (patch)
treee7f0ffc7b43ac00ea82e260eaa3926b3f09a8351 /options
parent0db04664d5ee0b054724334ed21ce6239c888c60 (diff)
options/connector: fix pointless check for nullptr
Diffstat (limited to 'options')
-rw-r--r--options/connector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/connector.cpp b/options/connector.cpp
index dc4d53f5..8fa59889 100644
--- a/options/connector.cpp
+++ b/options/connector.cpp
@@ -87,7 +87,7 @@ void connector::on_value_created(const QString& name, const base_value* val)
{
qWarning() << "options/connector: value created twice;"
<< "bundle"
- << (val && val->b ? val->b->name() : "<NULL>")
+ << (val->b ? val->b->name() : "<NULL>")
<< "value-name" << name
<< "value-ptr" << quintptr(val);
}