[cig-commits] commit: Fix compiler warnings

Mercurial hg at geodynamics.org
Tue Oct 18 18:56:20 PDT 2011


changeset:   381:fdaf2a2237cc
user:        Walter Landry <wlandry at caltech.edu>
date:        Sun Oct 16 04:52:05 2011 -0700
files:       muParser/src/muParserTokenReader.cpp
description:
Fix compiler warnings


diff -r e8416a557e74 -r fdaf2a2237cc muParser/src/muParserTokenReader.cpp
--- a/muParser/src/muParserTokenReader.cpp	Sat Oct 08 04:01:54 2011 -0700
+++ b/muParser/src/muParserTokenReader.cpp	Sun Oct 16 04:52:05 2011 -0700
@@ -774,7 +774,7 @@ namespace mu
 
     a_Tok.SetString(m_pParser->m_vStringVarBuf[item->second], m_pParser->m_vStringVarBuf.size() );
 
-    m_iSynFlags = m_iSynFlags = noANY ^ ( noBC | noOPT | noEND | noARG_SEP);
+    m_iSynFlags = noANY ^ ( noBC | noOPT | noEND | noARG_SEP);
     return true;
   }
 
@@ -866,7 +866,7 @@ namespace mu
     a_Tok.SetString(strTok, m_pParser->m_vStringBuf.size());
 
     m_iPos += (int)strTok.length() + 2 + (int)iSkip;  // +2 wg Anführungszeichen; +iSkip für entfernte escape zeichen
-    m_iSynFlags = m_iSynFlags = noANY ^ ( noARG_SEP | noBC | noOPT | noEND );
+    m_iSynFlags = noANY ^ ( noARG_SEP | noBC | noOPT | noEND );
 
     return true;
   }



More information about the CIG-COMMITS mailing list