From a08e595f4bad1e9e8b0b5a4debea4a63b86361a9 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Thu, 28 Sep 2017 12:53:24 -0500 Subject: [PATCH] Bug 1404035 Address an unused result warning in gfx/thebes/DeviceManagerDx.cpp r=dvander There's no way to handle this failure, so pass it to Unused. MozReview-Commit-ID: 37PS9TsPqx7 --HG-- extra : rebase_source : f385f4c50d5407b1929abed7dae123f9570d2205 --- gfx/thebes/DeviceManagerDx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/DeviceManagerDx.cpp b/gfx/thebes/DeviceManagerDx.cpp index 5d6de0990ef1..d56bc3626b2f 100644 --- a/gfx/thebes/DeviceManagerDx.cpp +++ b/gfx/thebes/DeviceManagerDx.cpp @@ -689,7 +689,7 @@ DisableAdvancedLayers(FeatureStatus aStatus, const nsCString aMessage, const nsC FeatureFailure info(aStatus, aMessage, aFailureId); if (GPUParent* gpu = GPUParent::GetSingleton()) { - gpu->SendUpdateFeature(Feature::ADVANCED_LAYERS, info); + Unused << gpu->SendUpdateFeature(Feature::ADVANCED_LAYERS, info); } if (aFailureId.Length()) {