From b72eea1dbf5bd3b9f6972b37a776cbc34dc59859 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 29 Sep 2015 09:37:49 +0100 Subject: coverity#1325052 Logically dead code since commit 984780243c9a1ab1242f3af719c6dca3ddacf67a Author: Stephan Bergmann Date: Thu Sep 17 19:15:26 2015 +0200 HEADER_FIELD_TEXT is the only used HeaderFieldType Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7 Change-Id: Id56790fd5c953d4d7f4a235c7d016c807ff37038 --- tools/source/inet/inetmime.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools') diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 16c7d2a77dc2..afdfdf7f57ae 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -2426,7 +2426,6 @@ OUString INetMIME::decodeHeaderFieldBody(const OString& rBody) /* bool bStartEncodedWord = true; */ const sal_Char * pWSPBegin = pBegin; - sal_uInt32 nCommentLevel = 0; for (const sal_Char * p = pBegin; p != pEnd;) { @@ -2704,8 +2703,6 @@ OUString INetMIME::decodeHeaderFieldBody(const OString& rBody) break; case ')': - if (nCommentLevel > 0) - --nCommentLevel; /* bStartEncodedWord = false; */ break; -- cgit