https://bugs.kde.org/show_bug.cgi?id=393431

--- Comment #2 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 6dfd56d27975ebd0ed609e28f1d62794d98ac38a by Dmitry Kazakov.
Committed on 26/04/2018 at 17:29.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: memory leaks in unittests

V773 The function was exited without releasing the pointer.
     A memory leak is possible.

M  +5    -5    libs/brush/tests/kis_gbr_brush_test.cpp
M  +15   -28   libs/brush/tests/kis_imagepipe_brush_test.cpp
M  +2    -5    libs/image/tests/kis_clone_layer_test.cpp
M  +21   -30   libs/image/tests/kis_iterator_test.cpp
M  +21   -32   libs/image/tests/kis_iterators_ng_test.cpp
M  +3    -4    libs/image/tests/kis_simple_update_queue_test.cpp
M  +1    -2    libs/widgets/tests/zoomhandler_test.cpp
M  +1    -2   
plugins/paintops/libpaintop/tests/kis_embedded_pattern_manager_test.cpp

https://commits.kde.org/krita/6dfd56d27975ebd0ed609e28f1d62794d98ac38a

--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit cb0f9e3a424a6e05a35eb597ac459bfb6fc52416 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:29.
Pushed by dkazakov into branch 'master'.

Fix PVS Studio warning: avoid non-used return value warning in benchmarks

V530 The return value of function 'atan2' is required to be utilized.
V530 The return value of function 'drand48' is required to be utilized.

M  +2    -1    benchmarks/kis_fast_math_benchmark.cpp
M  +2    -1    benchmarks/kis_stroke_benchmark.cpp

https://commits.kde.org/krita/cb0f9e3a424a6e05a35eb597ac459bfb6fc52416

--- Comment #4 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 6ed8fb329f8326444d983f5bb79c08bc982ab428 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:30.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: reordered function arguments

Just a misprint or copy-paste

M  +1    -1    benchmarks/kis_gradient_benchmark.cpp
M  +1    -1    benchmarks/kis_random_iterator_benchmark.cpp
M  +1    -1   
plugins/flake/textshape/kotext/opendocument/KoTextSharedLoadingData.cpp

https://commits.kde.org/krita/6ed8fb329f8326444d983f5bb79c08bc982ab428

--- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 7be37e4a8091c7cf0fd50fbc67e9eebafa4071b2 by Dmitry Kazakov.
Committed on 26/04/2018 at 17:30.
Pushed by dkazakov into branch 'master'.

Fix PVS-Studio warning: implicit int->qreal conversions cause precision loss

V601: The bool type is implicitly cast to the integer type
V636: Expression was implicitly cast from 'int' type to 'double' type

M  +1    -1    libs/flake/KoImageData_p.cpp
M  +1    -1    libs/ui/widgets/KisVisualEllipticalSelectorShape.cpp
M  +2    -2    libs/ui/widgets/KisVisualRectangleSelectorShape.cpp
M  +1    -1    libs/ui/widgets/kis_preset_live_preview_view.cpp
M  +2    -2    libs/widgets/KoPagePreviewWidget.cpp
M  +1    -1    libs/widgets/KoRuler.cpp
M  +6    -5   
plugins/dockers/advancedcolorselector/kis_color_selector_wheel.cpp
M  +1    -4    plugins/flake/pathshapes/enhancedpath/EnhancedPathFormula.cpp
M  +2    -2    plugins/flake/pathshapes/enhancedpath/EnhancedPathShape.cpp
M  +3    -3    plugins/tools/tool_smart_patch/kis_inpaint.cpp
M  +1    -1   
plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp

https://commits.kde.org/krita/7be37e4a8091c7cf0fd50fbc67e9eebafa4071b2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to