]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Fix a couple small static analysis findings for uninitialized structs 557/head
authorDavid Cantrell <dcantrell@redhat.com>
Tue, 26 Mar 2024 16:13:55 +0000 (12:13 -0400)
committerDavid Cantrell <dcantrell@redhat.com>
Tue, 26 Mar 2024 16:13:55 +0000 (12:13 -0400)
commit2c4ee52a948a9ccff2242cd02ac8ce81a0559deb
tree17ea781bcb1553e6eaf1a3cc463712783b61e7e5
parent8817911727fc054011a27d432f40a6fc85f9c53e
Fix a couple small static analysis findings for uninitialized structs

The memset() on the KeyValue is more explicit even though if you trace
the code you will see it fills out the struct.  However, it's possible
that not every struct member will be initialized and adding the
memset() makes things more obvious and appeases the static analyzer.

The queue_init() appeared to just be missing.
ext/repo_rpmmd.c
ext/repo_susetags.c
ext/testcase.c