coverity#1325052 Logically dead code

since

commit 984780243c
Author: Stephan Bergmann <sbergman@redhat.com>
Date:   Thu Sep 17 19:15:26 2015 +0200

    HEADER_FIELD_TEXT is the only used HeaderFieldType

    Change-Id: Ia4e5554e1aaed9e821bdea18b9b3acff001dd6e7

Change-Id: Id56790fd5c953d4d7f4a235c7d016c807ff37038
This commit is contained in:
Caolán McNamara
2015-09-29 09:37:49 +01:00
parent 1f1b160902
commit b72eea1dbf

View File

@@ -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;