Bug 1455830 - Fix -Wunused-lambda-capture warning in nsStandardURL::SetPassword r=me

This commit is contained in:
Valentin Gosu 2018-04-22 20:24:12 +02:00
parent a8ddb25f47
commit aadb739cdd

View File

@ -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()));