[Libreoffice-commits] core.git: tools/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 5 00:48:16 PDT 2015


 tools/source/inet/inetmime.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 946cf1b7a28bcf323628d75b2c0050a4b43aa2cf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 5 09:47:34 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    Change-Id: Ia1f6433000fe48ec6249b1cfb26668b665b2d15a

diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index afdfdf7..d4229fe 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -1798,7 +1798,7 @@ sal_Unicode const * scanParameters(sal_Unicode const * pBegin,
 {
     ParameterList aList;
     sal_Unicode const * pParameterBegin = pBegin;
-    for (sal_Unicode const * p = pParameterBegin;; pParameterBegin = p)
+    for (sal_Unicode const * p = pParameterBegin;;)
     {
         pParameterBegin = skipLinearWhiteSpaceComment(p, pEnd);
         if (pParameterBegin == pEnd || *pParameterBegin != ';')


More information about the Libreoffice-commits mailing list