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

Suppress format-security warning #33

Merged
merged 2 commits into from
Oct 24, 2024

Commits on Sep 10, 2023

  1. Suppress format-security warning

    The warning message is
    ```
    src/ncurses_display.cpp:33:12: warning: format not a string literal and no format arguments [-Wformat-security]
       33 |   mvwprintw(window, ++row, 2, ("OS: " + system.OperatingSystem()).c_str());
          |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ```
    The solution is listed at [this thread](spdk/spdk#2237).
    ruddyscent authored Sep 10, 2023
    Configuration menu
    Copy the full SHA
    6ccdcd0 View commit details
    Browse the repository at this point in the history
  2. Update ncurses_display.cpp

    Fix format of code
    ruddyscent authored Sep 10, 2023
    Configuration menu
    Copy the full SHA
    5a4d905 View commit details
    Browse the repository at this point in the history