From 7c8be3f4789b65915f194be3b6deaf1f3fd98aa8 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Wed, 21 Oct 2015 17:36:09 +0200 Subject: [PATCH] initialize variable before use fixes CID 28021 found by Coverity --- vda/ssim.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vda/ssim.cpp b/vda/ssim.cpp index 09f7b175b9..3c76b6c15a 100644 --- a/vda/ssim.cpp +++ b/vda/ssim.cpp @@ -566,12 +566,14 @@ int main(int argc, char** argv) { // #if 0 policy.replication = 2; + policy.max_ft = 1; policy.coding_levels = 1; policy.codings[0].n = 4; policy.codings[0].k = 2; policy.codings[0].m = 6; #else policy.replication = 1; + policy.max_ft = 0; policy.coding_levels = 2; policy.codings[0].n = 4; policy.codings[0].k = 2;