summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-06 14:04:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-06 14:11:12 +0100
commitc50c800f9c183f12aa75d64a386c3b9f20731d70 (patch)
tree5490ce2224d3c20015eeae397a0069d034a046e7 /starmath
parent4d33acbfbda4d72a8c4ded4ac9df6f1aee667424 (diff)
coverity#708822 Unused pointer value
Change-Id: I6ccd4c2ab97237806652059d6ae2cd23a6dc1625
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index fb2ca5322941..a46bef3fa34b 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2295,7 +2295,7 @@ void MathType::HandleSubSupScript(SmNode *pNode,int nLevel)
if (pNode->GetSubNode(RSUB+1))
nVariation=2;
}
- else if (NULL != (pTemp = pNode->GetSubNode(RSUB+1)))
+ else if (NULL != pNode->GetSubNode(RSUB+1))
nVariation=1;
if (nVariation!=0xff)