nbis: Add patch to fix warnings reported by scan-build

This patch basically only adds annotations. None of the errors can be
hit in practice.
This commit is contained in:
Benjamin Berg
2020-05-07 16:19:13 +02:00
committed by Benjamin Berg
parent 744a71ce08
commit ad17011e68
2 changed files with 60 additions and 0 deletions

View File

@@ -192,3 +192,6 @@ spatch --sp-file remove-global-y.cocci bozorth3/* include/bozorth.h --in-place
# The above leaves an unused variable around, triggering a warning
# remove it.
patch -p0 < glib-mem-warning.patch
# Also fix some scan-build warnings, mostly by adding assertions
patch -p0 < fix-scan-build-reports.patch