summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2014-01-21 17:10:30 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-22 09:04:06 +0100
commita7471c9159b254c2d5a21ddd9772fac8fe7d1736 (patch)
tree766b356ea398a0ee99a38653e7f9578d38cdb990 /examples
parent2a83fbd6c70032d236bbdf0d87aaf51908cd5afd (diff)
downloadqtserialport-a7471c9159b254c2d5a21ddd9772fac8fe7d1736.tar.gz
Remove an unnecessary boolean interim variable
This is needless because it is only used once, right after the creation. Moreover, we would probably need to separate the two calls later into distinct introspection conditions to give a bit more correct warning whether the sysfs is present, or it is just not readable for some reason. It is also consistent with some other places. It also eliminates the needless indentation level for that relatively long block. Change-Id: Ib66e3033c2439315a8034101129cadd2dcdc29d0 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions