diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-17 21:21:16 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-17 19:38:52 -0800 |
commit | 5c248d91cd5b7e9401e4393b2193ad44c32016bc (patch) | |
tree | 6ecf145a0ee951e8c1dd94de075e9d854da32aae /core/btdiscovery.cpp | |
parent | 36b8594ccea5f72fc24041eae6a0dc69a9b5bc51 (diff) | |
download | subsurface-5c248d91cd5b7e9401e4393b2193ad44c32016bc.tar.gz |
Coding-style: remove superfluous parentheses
Mostly replace "return (expression);" by "return expression;" and one
case of "function((parameter))" by "function(parameter)".
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r-- | core/btdiscovery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index 394a90757..b3aab4fb4 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -47,9 +47,9 @@ static dc_descriptor_t *getDeviceType(QString btName) } if (!vendor.isEmpty() && !product.isEmpty()) - return(descriptorLookup.value(vendor + product)); + return descriptorLookup.value(vendor + product); - return(NULL); + return NULL; } BTDiscovery::BTDiscovery(QObject *parent) : m_btValid(false), |