From c50c800f9c183f12aa75d64a386c3b9f20731d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 6 Jun 2014 14:04:19 +0100 Subject: [PATCH] coverity#708822 Unused pointer value Change-Id: I6ccd4c2ab97237806652059d6ae2cd23a6dc1625 --- starmath/source/mathtype.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)