Skip to content

feat: Improve logging across image viewer and processing components #270

feat: Improve logging across image viewer and processing components

feat: Improve logging across image viewer and processing components #270

Triggered via pull request May 21, 2025 08:50
@KakueeenKakueeen
opened #165
Status Success
Total duration 37s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
cppcheck: libimageviewer/widgets/printhelper.cpp#L166
The function 'paintRequestSync' is never used.
cppcheck: libimageviewer/widgets/printhelper.cpp#L59
The scope of the variable 'errMsg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // it's safe to move 'int i = 0;' here\012 for (int n = 0; n < 10; ++n) {\012 // it is possible but not safe to move 'int i = 0;' here\012 do_something(&i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.