Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes module build errors due to failing cppcheck https://github.com/azerothcore/mod-zone-difficulty/actions/runs/12699226019/job/35399414259
changes:
initialize variables by setting default values
default values from tables:
mod-zone-difficulty/data/sql/db-world/zone_difficulty_info.sql
Line 5 in 0e0b185
mod-zone-difficulty/data/sql/db-world/zone_difficulty_mythicmode_creatureoverrides.sql
Line 4 in 0e0b185
Test
Run cppcheck from CI locally
https://github.com/azerothcore/reusable-workflows/blob/main/.github/workflows/core_build_modules.yml
https://github.com/azerothcore/reusable-workflows/blob/4de2039354f9ac4565f6a079196f8b33f2e2a93e/cppchecksuppressions.txt#L2