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

lib/posix-environ: Remove unused variable warnings #1058

Closed

Commits on Aug 16, 2023

  1. lib/posix-environ: Remove unused variable warnings

    If an environment variable is not set, the
    `DECLARE_LIBPOSIX_ENVIRON_ENV_VAR` macros end up declaring unused
    global variables which generate warnings.
    
    To solve this, guard the use of these macros so that they are not used
    for a particular unset environment variable.
    
    Signed-off-by: Sergiu Moga <sergiu@unikraft.io>
    mogasergiu committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    0748626 View commit details
    Browse the repository at this point in the history