Merge "Fix unconditional use of __attribute__."

This commit is contained in:
John Bruce
2019-03-19 18:47:19 +00:00
committed by Android (Google) Code Review

View File

@@ -325,8 +325,7 @@ class CdmEngine {
// data. Returns true if the metrics data is populated, false otherwise.
// |engine_metrics| is owned by the caller and must not be null.
// The CdmEngine implementation is a placeholder. Just return false.
virtual bool GetMetricsSnapshot(
__attribute__((unused)) drm_metrics::WvCdmMetrics *metrics) {
virtual bool GetMetricsSnapshot(drm_metrics::WvCdmMetrics* /* metrics */) {
return false;
}