From aadb739cdd9ea3a7d291cf485e09c25b8bf13089 Mon Sep 17 00:00:00 2001 From: Valentin Gosu Date: Sun, 22 Apr 2018 20:24:12 +0200 Subject: [PATCH] Bug 1455830 - Fix -Wunused-lambda-capture warning in nsStandardURL::SetPassword r=me --- netwerk/base/nsStandardURL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/netwerk/base/nsStandardURL.cpp b/netwerk/base/nsStandardURL.cpp index f2390e395adf..b8513dc5c3e7 100644 --- a/netwerk/base/nsStandardURL.cpp +++ b/netwerk/base/nsStandardURL.cpp @@ -1805,6 +1805,7 @@ nsStandardURL::SetPassword(const nsACString &input) if (password.IsEmpty()) { MOZ_DIAGNOSTIC_ASSERT(this->Password().IsEmpty()); } + Unused << this; // silence compiler -Wunused-lambda-capture }); LOG(("nsStandardURL::SetPassword [password=%s]\n", password.get()));