Unused return value
remove unused assignment
Assertion to quiet clang scan
Remove unused assignment
Ensure that variable is initialized
Assign result of talloc_steal
Remove unnecessary check
filter may be NULL
Assertions for clang scan