22 Oct
2013
22 Oct
'13
2:16 a.m.
Christopher Cope <ccope3(a)utk.edu> wrote:
--- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -5836,7 +5836,9 @@ HRESULT WINAPI VarDecRound(const DECIMAL* pDecIn, int cDecimals, DECIMAL* pDecOu HRESULT WINAPI VarDecCmp(const DECIMAL* pDecLeft, const DECIMAL* pDecRight) { HRESULT hRet; - DECIMAL result; + static DECIMAL scaleFactor;
Is there a reason to make this variable static? -- Dmitry.