| Run: | 44316113512 |
| Check: | main: misc-const-correctness |
| Status: | ok |
| Time: | 2s |
| Warnings: | 17 (TP 0, FP 0, unclassified 17) |
| Source: | msteinbeck/tinyspline/blob/f8b1ab7ec2a2bf43220044fe32c9869a5f6c3469 |
| Verdict | Location | Message |
|---|---|---|
| - | examples/cxx/quickstart.cpp:34:2 | variable 'beziers' of type 'tinyspline::BSpline' can be declared 'const' |
| - | examples/cxx/time_series.cpp:38:2 | variable 'spline' of type 'tinyspline::BSpline' can be declared 'const' |
| - | examples/cxx/time_series.cpp:41:2 | variable 'net' of type 'tinyspline::DeBoorNet' can be declared 'const' |
| - | src/tinysplinecxx.cxx:98:2 | variable 'num_points' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:113:2 | variable 'num_result' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:252:2 | pointee of variable 'fst' of type 'tsReal *' (aka 'double *') can be declared 'const' |
| - | src/tinysplinecxx.cxx:255:2 | pointee of variable 'lst' of type 'tsReal *' (aka 'double *') can be declared 'const' |
| - | src/tinysplinecxx.cxx:324:2 | variable 'num_ctrlp' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:352:2 | variable 'num_knots' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:470:2 | variable 'expected' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:471:2 | variable 'actual' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:489:2 | variable 'actual' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:490:2 | variable 'expected' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:501:2 | variable 'err' of type 'tsError' can be declared 'const' |
| - | src/tinysplinecxx.cxx:509:2 | variable 'expected' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:510:2 | variable 'actual' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | src/tinysplinecxx.cxx:583:2 | variable 'd' of type 'Domain' can be declared 'const' |
Generated from 3ddf6fa37f.