Fix Uninitialized scalar variable (UNINIT) 17/265317/1 accepted/tizen/unified/20211029.132555 submit/tizen/20211015.034311 submit/tizen/20211028.024042
authorYoungHun Kim <yh8004.kim@samsung.com>
Fri, 15 Oct 2021 00:42:52 +0000 (09:42 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Fri, 15 Oct 2021 00:43:55 +0000 (09:43 +0900)
Change-Id: I53708468d973ff7abb3d69959e8b0dcd0d538809

packaging/murphy.spec
src/common/tests/hash-test.c

index 7f8d9e3c18a21270c45b5d1bb425e5699fa78b59..97e272adc0dcb70943c44dba1daaac3e998056ce 100644 (file)
@@ -29,7 +29,7 @@
 Summary: Resource policy framework
 Name: murphy
 Version: 0.0.75
-Release: 22
+Release: 23
 License: BSD-3-Clause
 Group: System/Service
 URL: http://01.org/murphy/
index 6195775ee691c5a00712636cedd006b018eef0e1..b85ffd697270f61c769e0e3b38c02c69f9015bac 100644 (file)
@@ -354,6 +354,7 @@ test_run(void)
     cfg.hash    = hash_func;
     cfg.comp    = cmp_func;
     cfg.free    = NULL;
+    cfg.nentry  = 0;
     test.ht     = hash_tbl_create(&cfg);
 
     if (test.ht == NULL)