szha closed pull request #8784: Fix warning on meaningless return type qualifier URL: https://github.com/apache/incubator-mxnet/pull/8784
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/src/operator/operator_tune.h b/src/operator/operator_tune.h index 2088d4603d..b343e83a02 100644 --- a/src/operator/operator_tune.h +++ b/src/operator/operator_tune.h @@ -154,7 +154,7 @@ class OperatorTuneByType : public OperatorTuneBase { * \brief Get the current tuning mode * \return tune::TuningMode value for the current tuning mode */ - static MSHADOW_CINLINE volatile tune::TuningMode tuning_mode() { + static MSHADOW_CINLINE tune::TuningMode tuning_mode() { return tuning_mode_; } ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services