--- dtor/src/dtoa.c.coverity +++ dtor/src/dtoa.c @@ -216,14 +216,14 @@ typedef unsigned Long ULong; #endif -#ifdef DEBUG #include + +#ifdef DEBUG #include "stdio.h" #define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);} #define Debug(x) x int dtoa_stats[7]; /* strtod_{64,96,bigcomp},dtoa_{exact,64,96,bigcomp} */ #else -#define assert(x) /*nothing*/ #define Debug(x) /*nothing*/ #endif @@ -2301,6 +2301,7 @@ if ((y = d1)) { if ((k = lo0bits(&y))) { x[0] = y | z << (32 - k); + assert(k < 32); /* https://bugs.python.org/issue23999 */ z >>= k; } else @@ -3029,6 +3030,7 @@ || ((n = nbits & kmask) !=0 && hi0bits(x[k-1]) < 32-n)) { rshift(b,1); + /* coverity[dead_error_line] - not worth investigating */ if (++e > Emax) goto ovfl; } @@ -3345,6 +3347,7 @@ if ((dd = s0[j++] - '0' - dig)) goto ret; if (!b->x[0] && b->wds == 1) { + /* coverity[copy_paste_error : FALSE] */ if (i < nd) dd = 1; goto ret; @@ -3607,6 +3610,7 @@ switch(c = *++s) { case '-': esign = 1; + /* fall through */ case '+': c = *++s; } a-7-4'>distro/allotropia/zeta-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/animations
AgeCommit message (Expand)Author
2018-09-17New loplugin:externalStephan Bergmann
2018-09-05loplugin:simplifyconstruct in accessibility..bridgesNoel Grandin
2018-07-09Add missing sal/log.hxx headersGabor Kelemen
2017-12-11loplugin:salcall fix functionsNoel Grandin
2017-11-04Replace lists by vectors in animation parts (sd/animations)Julien Nabet
2017-06-15use more SAL_N_ELEMENTS part 3Noel Grandin
2017-05-16loplugin:comparisonwithconstant in avmediaNoel Grandin
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
2017-03-03Fix typosAndrea Gelmini
2017-02-15Drop :: prefix from std in [a-b]*/Tor Lillqvist
2017-02-06Add missing #includesStephan Bergmann
2017-02-01makeAny->Any in accessibility..avmediaNoel Grandin
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2016-11-23loplugin:unnecessaryoverride (dtors) in animationsStephan Bergmann
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2016-09-05tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT, etc.Gökhan Gurbetoğlu
2016-08-02tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorMuhammet Kara