summaryrefslogtreecommitdiffstats
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-17 13:14:50 +0200
committerNoel Grandin <noel@peralex.com>2016-02-23 08:08:56 +0200
commitc45d3badc96481db093560b94d8bf51ead6bd17c (patch)
tree4bb6c9220678a12b327e46ca2acd01e77fc8e2c4 /include/registry
parentUpdated core (diff)
downloadcore-c45d3badc96481db093560b94d8bf51ead6bd17c.tar.gz
core-c45d3badc96481db093560b94d8bf51ead6bd17c.zip
new loplugin: commaoperator
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index 8b75a5ec67e6..e9cbff830f4f 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -828,7 +828,8 @@ inline void RegistryKey::releaseKey()
{
if (m_registry.isValid() && (m_hImpl != nullptr))
{
- m_registry.m_pApi->releaseKey(m_hImpl), m_hImpl = nullptr;
+ m_registry.m_pApi->releaseKey(m_hImpl);
+ m_hImpl = nullptr;
}
}