diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 16:55:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 20:06:12 +0200 |
commit | 82e8160c3bebd89527f83bf24c2cfb2aa892611a (patch) | |
tree | 5e7da10bdf2d23488f73f0cce84474cc730bc328 /extensions | |
parent | bc2b283959d4fa76aa0b9f6bea0babbd5a296ddd (diff) |
-Werror,-Wunused-but-set-variable
...since f1702aa8e46d63b85cc16e550c96b79509057c89 "INTEGRATION: CWS oj14".
(Maybe the odd code was there to allow breaking on it with a debugger, and the
original author wondered whether TypeClass_CONSTANT can actually happen here,
which it probably can not, so it should probably be replaced with
O3TL_UNREACHABLE, but that's left for a follow-up.)
Change-Id: I97881b1b35f7de3940400c50b58eb08ca9a746a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132226
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/stringrepresentation.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index 83befe2039d3..3c984eb0a867 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -416,10 +416,6 @@ bool StringRepresentation::convertGenericValueToString( const uno::Any& _rValue, } break; case uno::TypeClass_CONSTANT: - { - int i = 0; - ++i; - } break; // some structs |