summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorkyslov <kyslov@google.com>2019-04-11 16:11:34 -0700
committerkyslov <kyslov@google.com>2019-04-11 17:37:15 -0700
commit4ba3098ecb471be486b665c7f8716645ba8e22c6 (patch)
treee7c5cf6903474c043fd404c7b2e973130e57a524 /tools
parente8bfbf53174a80440d7251085ac8d8e16ac8ed3c (diff)
downloadlibvpx-4ba3098ecb471be486b665c7f8716645ba8e22c6.tar.gz
libvpx-4ba3098ecb471be486b665c7f8716645ba8e22c6.tar.bz2
libvpx-4ba3098ecb471be486b665c7f8716645ba8e22c6.zip
Fix static analysis warnings
With switching to clang-7.0.1 we got new warnings. With this change the warnings are back to 0 for all configurations (excluding warnings in third_party) BUG=webm:1616 Change-Id: I25ceb592c425394e8f14d333fb5680144f892213
Diffstat (limited to 'tools')
-rw-r--r--tools/tiny_ssim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tiny_ssim.c b/tools/tiny_ssim.c
index f62f7f57e..ff4634ade 100644
--- a/tools/tiny_ssim.c
+++ b/tools/tiny_ssim.c
@@ -326,6 +326,8 @@ int main(int argc, char *argv[]) {
input_file_t in[2];
double peak = 255.0;
+ memset(in, 0, sizeof(in));
+
if (argc < 2) {
fprintf(stderr,
"Usage: %s file1.{yuv|y4m} file2.{yuv|y4m}"