Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: Source/modules/crypto/HmacKeyParams.cpp

Issue 47623002: Fix more warnings on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix sign-compare and do not yet turn on -Wall. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/crypto/HmacKeyParams.cpp
diff --git a/Source/modules/crypto/HmacKeyParams.cpp b/Source/modules/crypto/HmacKeyParams.cpp
index 1b918bdd0c6f3517f985a51ae148f9fd77091a4c..d6fd8515368b045e62bb4e8945a45dba6c925f8a 100644
--- a/Source/modules/crypto/HmacKeyParams.cpp
+++ b/Source/modules/crypto/HmacKeyParams.cpp
@@ -44,7 +44,7 @@ Algorithm* HmacKeyParams::hash()
unsigned HmacKeyParams::length(bool& isNull)
{
- unsigned length;
+ unsigned length = 0;
isNull = !m_algorithm.hmacKeyParams()->getLength(length);
return length;
}

Powered by Google App Engine
This is Rietveld 408576698