ref: b2f59340e8645149f0f4d8315d26485bce1a6949
parent: 6234256646fe5f02defdc57a48bb8a81a7d4a6d6
author: Angie Chiang <angiebird@google.com>
date: Wed Nov 21 06:20:36 EST 2018
Fix scan_build warnings in user_priv_test.cc BUG=webm:1575 Change-Id: I4e38f11162e0de82a730f16b387aeafd2d00e777
--- a/test/user_priv_test.cc
+++ b/test/user_priv_test.cc
@@ -73,7 +73,7 @@
CheckUserPrivateData(img->user_priv, &frame_num);
// Also test ctrl_get_reference api.
- struct vp9_ref_frame ref;
+ struct vp9_ref_frame ref = vp9_ref_frame();
// Randomly fetch a reference frame.
ref.idx = rnd.Rand8() % 3;
decoder.Control(VP9_GET_REFERENCE, &ref);