"virHashNew" cannot return NULL, yet we check for NULL in various places.
See
https://listman.redhat.com/archives/libvir-list/2021-July/msg00074.html.
* Patch #1 is a fixed version of
https://listman.redhat.com/archives/libvir-list/2021-July/msg00720.html.
* Patch #2 is a fixed version of
https://listman.redhat.com/archives/libvir-list/2021-July/msg00721.html.
* For patch #3, see
https://listman.redhat.com/archives/libvir-list/2021-July/msg00691.html.
I mixed something up and was under the impression that the libvirt code style
forbade `for` loops with anything else than `size_t` typed variables.
Tim Wiederhake (3):
virLockSpaceNewPostExecRestart: `virHashNew` cannot return NULL
WIP virStoragePoolObjListNew: `virHashNew` cannot return NULL
virNWFilterParseParamAttributes: Simplify loop
src/conf/nwfilter_params.c | 7 ++-----
src/conf/virstorageobj.c | 7 ++-----
src/util/virlockspace.c | 3 +--
3 files changed, 5 insertions(+), 12 deletions(-)
--
2.31.1