diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-06 14:22:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-06 13:03:06 +0000 |
commit | 6768a9b602c5cd6b4702faf862cac60527bded99 (patch) | |
tree | fa7048ac03cd0c9bd00949e2ce236980ccaf3efd /idlc/source/aststack.cxx | |
parent | ad16351d9d8fd440bb8941c453b802ad5c109b23 (diff) |
loplugin:redundantcast check for c-style casts to void
Change-Id: Ic8b99f590436f94825e471bc61411c69fd768862
Reviewed-on: https://gerrit.libreoffice.org/36208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/source/aststack.cxx')
-rw-r--r-- | idlc/source/aststack.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/aststack.cxx b/idlc/source/aststack.cxx index 1eaddbaabb42..13afe71bd886 100644 --- a/idlc/source/aststack.cxx +++ b/idlc/source/aststack.cxx @@ -64,7 +64,7 @@ AstScope* AstStack::nextToTop() return nullptr; tmp = top(); // Save top - (void) pop(); // Pop it + pop(); // Pop it retval = top(); // Get next one down (void) push(tmp); // Push top back return retval; // Return next one down |