summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-12-10 11:28:04 +0100
committersb <sb@openoffice.org>2009-12-10 11:28:04 +0100
commit0ba84eeda83b5241619a7c2e63f257db08629bad (patch)
tree498d8ed18650cbdd514a5c8db76c96c280421879 /sal
parent9164f69acf4ded007abb5b20a2f0716879fe0e46 (diff)
sb116: #i106384# removed unncessary assignments (that caused warnings about using uninitialized variables)
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/rtl/math.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sal/inc/rtl/math.hxx b/sal/inc/rtl/math.hxx
index dbd4a2172246..4891b7565647 100644
--- a/sal/inc/rtl/math.hxx
+++ b/sal/inc/rtl/math.hxx
@@ -362,7 +362,6 @@ inline void setInf(double * pd, bool bNegative)
double sd;
sal_math_Double md;
};
- sd = *pd;
md.w32_parts.msw = bNegative ? 0xFFF00000 : 0x7FF00000;
md.w32_parts.lsw = 0;
*pd = sd;
@@ -377,7 +376,6 @@ inline void setNan(double * pd)
double sd;
sal_math_Double md;
};
- sd = *pd;
md.w32_parts.msw = 0x7FFFFFFF;
md.w32_parts.lsw = 0xFFFFFFFF;
*pd = sd;