Skip to content

Resolve MSVC compiler warnings #5372

@n-stein

Description

@n-stein

Not really an issue (might be a bit of OCD), but we should resolve outstanding MSVC compiler warnings. I already corrected the warnings in the files modified in #1477, but there are a few outstanding that were not part of that change.

Current warnings are due to signed/unsigned mismatches and unused local variables

moneymanagerex\src\currencydialog.cpp(161,22): warning C4018: '<': signed/unsigned mismatch
moneymanagerex\src\currencydialog.cpp(166,22): warning C4018: '<': signed/unsigned mismatch
moneymanagerex\src\images_list.cpp(263,18): warning C4245: 'return': conversion from 'int' to 'unsigned int', signed/unsigned mismatch
moneymanagerex\src\reports\cashflow.cpp(141,16): warning C4189: 'toAmt': local variable is initialized but not referenced
moneymanagerex\src\reports\cashflow.cpp(140,16): warning C4189: 'amt': local variable is initialized but not referenced
moneymanagerex\src\reports\myusage.cpp(98,25): warning C4189: 's': local variable is initialized but not referenced

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions