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

Initialize variable to quiet compiler finding #2572

Merged
merged 1 commit into from
Feb 20, 2024

Commits on Feb 19, 2024

  1. Initialize variable to quiet compiler finding

    GCC 12.2.0 believes that the variable secured_context might be used in
    the switch-case LIBSPDM_DATA_SESSION_SEQUENCE_NUMBER_REQ_DIR without
    being initialized.  This though does not happen because in that case
    need_session_info_for_data() will return true and secured_context will
    be set.
    
    Change-Id: I1f661115b9a9c27eeddc4238c1887fdd0566b533
    Signed-off-by: Patrick Wildt <[email protected]>
    Patrick Wildt committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    839136b View commit details
    Browse the repository at this point in the history