From: YoungHun Kim Date: Fri, 15 Oct 2021 00:42:52 +0000 (+0900) Subject: Fix Uninitialized scalar variable (UNINIT) X-Git-Tag: submit/tizen_6.5/20220118.034649^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.5_unified;p=platform%2Fupstream%2Fmurphy.git Fix Uninitialized scalar variable (UNINIT) Change-Id: I53708468d973ff7abb3d69959e8b0dcd0d538809 --- diff --git a/packaging/murphy.spec b/packaging/murphy.spec index 7f8d9e3..97e272a 100644 --- a/packaging/murphy.spec +++ b/packaging/murphy.spec @@ -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/ diff --git a/src/common/tests/hash-test.c b/src/common/tests/hash-test.c index 6195775..b85ffd6 100644 --- a/src/common/tests/hash-test.c +++ b/src/common/tests/hash-test.c @@ -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)