Fix more errors and warnings produced by "make check" as reported by CI and a pyright upgrade.Signed-off-by: Jan Lindemann <jan@janware.com>
Fix more errors and warnings produced by "make check" as reported by CI and a pyright upgrade.