Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspector: add missing initialization #43254

Closed
wants to merge 1 commit into from

Commits on May 30, 2022

  1. inspector: add missing initialization

    Add missing initialization reported by coverity. With
    proper usage it looks like it will be initialized but
    still good to have it initialized to a known state in
    case that changes or invalide usage.
    
    The method used to create object ids newObjectId() starts
    at 1 so initializing to 0 should be safe and what we get
    now when compiled in a way that auto initializes (for example
    debug)
    
    Signed-off-by: Michael Dawson <[email protected]>
    mhdawson committed May 30, 2022
    Configuration menu
    Copy the full SHA
    a1a5036 View commit details
    Browse the repository at this point in the history