PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Analyzers][CPP] Turn on all warnings that doesn't show up anymore

Open sosssego opened this issue 2 years ago • 0 comments

Turn on all warnings that doesn't show up anymore

PR Checklist

  • [x] Continues towards: #940
  • [X] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • [ ] Tests: Added/updated and all pass
  • [ ] Localization: All end user facing strings can be localized
  • [ ] Dev docs: Added/updated
  • [ ] New binaries: Added on the required places
  • [ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Turn on all warnings that doesn't show up anymore: -26800 - Use of a moved from object: 'object'. -28251 - Inconsistent annotation for function: this instance has an error. -6387 - 'argument' may be 'value': this does not adhere to the specification for the function 'function name': Lines: x, y. -6248 - Setting a SECURITY_DESCRIPTOR's DACL to NULL will result in an unprotected object.

Validation Steps Performed

CI

sosssego avatar Dec 01 '22 22:12 sosssego