summaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-19 20:02:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-01-19 20:02:23 +0000
commit4e4397a64f8d2d45e529ec113e56652fc59e1db5 (patch)
tree6f1493fe70f7e5f2470d21cfbb711588e9da7506 /nuttx/lib
parent76bb5e20d25f228383f34c4a827303713553e838 (diff)
downloadpx4-nuttx-4e4397a64f8d2d45e529ec113e56652fc59e1db5.tar.gz
px4-nuttx-4e4397a64f8d2d45e529ec113e56652fc59e1db5.tar.bz2
px4-nuttx-4e4397a64f8d2d45e529ec113e56652fc59e1db5.zip
Fix issues detected by CppCheck tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3261 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rwxr-xr-xnuttx/lib/lib_dtoa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/lib_dtoa.c b/nuttx/lib/lib_dtoa.c
index 1bab1435f..08904d9df 100755
--- a/nuttx/lib/lib_dtoa.c
+++ b/nuttx/lib/lib_dtoa.c
@@ -1445,9 +1445,9 @@ char *__dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve)
#endif
if (j < 0 || (j == 0 && !mode
#ifndef ROUND_BIASED
- && (!(word1(d) & 1)))
+ && (!(word1(d) & 1))
#endif
- )
+ ))
{
if ((j_1 > 0))
{