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

Unified Diff: net/der/encode_values_unittest.cc

Issue 2148303002: Initialize memory in encode_values_unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove drmemory suppression. Created 4 years, 5 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
« no previous file with comments | « net/der/encode_values.cc ('k') | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/der/encode_values_unittest.cc
diff --git a/net/der/encode_values_unittest.cc b/net/der/encode_values_unittest.cc
index 52672cf420dddb999d74fb5bee4ea417a6148339..940e1f54547b3819507e859ec4904d55fc335656 100644
--- a/net/der/encode_values_unittest.cc
+++ b/net/der/encode_values_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -44,6 +44,7 @@ TEST(EncodeValuesTest, EncodeTimeFromBeforeWindowsEpoch) {
exploded.year = 1570;
exploded.month = 1;
exploded.day_of_week = 5;
+ exploded.day_of_month = 1;
exploded.hour = 0;
exploded.minute = 0;
exploded.second = 0;
@@ -70,6 +71,7 @@ TEST(EncodeValuesTest, EncodeTimeAfterTimeTMax) {
exploded.year = 2039;
exploded.month = 1;
exploded.day_of_week = 7;
+ exploded.day_of_month = 1;
exploded.hour = 0;
exploded.minute = 0;
exploded.second = 0;
« no previous file with comments | « net/der/encode_values.cc ('k') | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698