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

test: fix warning in test_environment.cc #36846

Commits on Jan 13, 2021

  1. test: fix warning in test_environment.cc

    warning log:
    ../test/cctest/test_environment.cc: In constructor ‘RedirectStdErr::RedirectStdErr(const char*)’:
    ../test/cctest/test_environment.cc:77:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
         freopen(filename_, "w", stderr);
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
    RaisinTen committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    3e7ef4b View commit details
    Browse the repository at this point in the history