Skip to content

chore: resolve IDE code quality warnings and errors#39

Merged
Vladush merged 7 commits intomasterfrom
chore/ide-code-quality-fixes
Apr 20, 2026
Merged

chore: resolve IDE code quality warnings and errors#39
Vladush merged 7 commits intomasterfrom
chore/ide-code-quality-fixes

Conversation

@Vladush
Copy link
Copy Markdown
Owner

@Vladush Vladush commented Apr 20, 2026

Description

Resolves numerous IDE warnings and errors across the codebase. Key improvements include:

  • Stream formatting optimizations (std::endl to \n)
  • Removed unused headers and optimized variable types (e.g. const cv::ocl::Device &dev)
  • Replaced dangerous empty catch(...) blocks with parse_int helpers for config parsing
  • Fixed C-style POSIX socket casting using reinterpret_cast
  • Added .markdownlintignore to suppress false positive markdown linting in debian/changelog
  • Added --no-install-recommends and apt-get clean to Dockerfile.riscv64 to prevent QEMU segmentation faults during CI builds.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (code quality and IDE compliance)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • Compiled project completely using CMake/Ninja with no new warnings
  • Executed local test suite (./linuxcampam_tests) with 71 passing tests and 0 failures

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@Vladush Vladush merged commit 6c6d346 into master Apr 20, 2026
9 checks passed
@Vladush Vladush deleted the chore/ide-code-quality-fixes branch April 20, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant