]> granicus.if.org Git - libvpx/commitdiff
tiny_ssim: Fix an 'Uninitialized argument value' bug
authorsdeng <sdeng@google.com>
Fri, 5 Apr 2019 16:30:46 +0000 (09:30 -0700)
committerSai Deng <sdeng@google.com>
Sat, 6 Apr 2019 02:55:06 +0000 (02:55 +0000)
found by clang-7.0.1 static analysis.
BUG=webm:1616

Change-Id: I2f7d1376e82e35227ad96d34417014ce5680ad96

tools/tiny_ssim.c

index 958a5d984db2b88c58eeb067576afa668442d7c2..f62f7f57e07051d65c27b0356a4072539f8a9e04 100644 (file)
@@ -331,8 +331,7 @@ int main(int argc, char *argv[]) {
             "Usage: %s file1.{yuv|y4m} file2.{yuv|y4m}"
             "[WxH tl_skip={0,1,3} frame_stats_file bits]\n",
             argv[0]);
-    return_value = 1;
-    goto clean_up;
+    return 1;
   }
 
   if (argc > 3) {