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

Ignore return value of function declared with 'warn_unused_result' #152

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 7, 2022

  1. Ignore return value of function declared with 'warn_unused_result' (#…

    …84369)
    
    Summary:
    X-link: pytorch/pytorch#84369
    
    Pull Request resolved: pytorch#152
    
    Ignore return value of function declared with 'warn_unused_result'
    
    Addresses the following build failure that we get on some of our internal build environments:
    caffe2/torch/csrc/deploy/environment.h:60:5: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] system(rmCmd.c_str());
    
    Reviewed By: jiyuanzFB, PaliC
    
    Differential Revision: D39181069
    
    fbshipit-source-id: 103ebd9529ac5d947f18a22e3fc6294341d246a4
    David Eklov authored and facebook-github-bot committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    2b955c0 View commit details
    Browse the repository at this point in the history