ZigRazor / CXXGraph

Header-Only C++ Library for Graph Representation and Algorithms
https://zigrazor.github.io/CXXGraph/
Mozilla Public License 2.0
472 stars 115 forks source link

Fix warnings in compilation of tests #460

Closed sbaldu closed 4 months ago

sbaldu commented 4 months ago

Adding Wall and Wextra flags to the compilation of tests a lot of warnings popped out. This PR fixes them. I think that this might also fix issue #311.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.88%. Comparing base (1057808) to head (5d17fd9).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #460 +/- ## ========================================== - Coverage 97.88% 97.88% -0.01% ========================================== Files 87 87 Lines 10085 10080 -5 Branches 670 670 ========================================== - Hits 9872 9867 -5 Misses 213 213 ``` | [Flag](https://app.codecov.io/gh/ZigRazor/CXXGraph/pull/460/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZigRazor) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ZigRazor/CXXGraph/pull/460/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZigRazor) | `97.88% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZigRazor#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.