Skip to content

Add cppcheck selfcheck and fix cppcheck warnings #771

Open

Description

@danmar

latest cppcheck says:

  simplecpp.cpp:427:14:  warning: Member variable 'Stream::bom' is not initialized. [uninitMemberVarPrivate]
  simplecpp.cpp:438:10:  warning: Member variable 'Stream::isUtf16' has no initializer. [uninitMemberVarNoCtor]
  simplecpp.cpp:862:46:  style:inconclusive: ... 'TokenList::readBlockComment' can be const. [functionConst]
  simplecpp.cpp:1454:70: style:inconclusive: 'constFoldUnaryNotPosNeg' argument 1 names different: 'tok' vs 'tok1'. [funcArgNamesDifferent]
  simplecpp.cpp:2684:221: style: Argument 'gatherCall' shadows outer function [shadowFunction]
  simplecpp.cpp:294:1:   information: Unmatched suppression: noConstructor [unmatchedSuppression]

Activity

  1. changed the title [-]Fix cppcheck warnings[/-] [+]Add cppcheck selfcheck and fix cppcheck warnings[/+] on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions