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

src: ignore unused warning for inspector-agent.cc #13188

Commits on May 24, 2017

  1. src: ignore unused warning for inspector-agent.cc

    Currently the following compiler warning is displayed:
    
    ../src/inspector_agent.cc:218:5: warning: ignoring return value of
    function declared with warn_unused_result attribute [-Wunused-result]
        callback->Call(env_->context(), receiver, 1, &argument);
        ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 warning generated.
    
    This commit does a static cast of the result as there are tests that
    fail if we try to do something like ToLocalChecked.
    danbev committed May 24, 2017
    Configuration menu
    Copy the full SHA
    7ffbbeb View commit details
    Browse the repository at this point in the history