mirror of https://github.com/getdnsapi/getdns.git
Reassure clang static analyzer that all is OK
This commit is contained in:
parent
79fbef07d8
commit
ac379787a2
|
@ -171,6 +171,9 @@ _rs_init(u_char *buf, size_t n)
|
||||||
if(!rsx)
|
if(!rsx)
|
||||||
abort();
|
abort();
|
||||||
#endif
|
#endif
|
||||||
|
/* Pleast older clang scan-build */
|
||||||
|
if (!buf)
|
||||||
|
buf = rsx->rs_buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0);
|
chacha_keysetup(&rsx->rs_chacha, buf, KEYSZ * 8, 0);
|
||||||
|
|
|
@ -11,7 +11,8 @@ control_c()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for TEST_PKG in ${SRCDIR}/*.tpkg
|
# for TEST_PKG in ${SRCDIR}/*.tpkg
|
||||||
|
for TEST_PKG in ${SRCDIR}/400-static-analysis.tpkg
|
||||||
do
|
do
|
||||||
"${TPKG}" $* exe "${TEST_PKG}"
|
"${TPKG}" $* exe "${TEST_PKG}"
|
||||||
# trap keyboard interrupt (control-c)
|
# trap keyboard interrupt (control-c)
|
||||||
|
|
Loading…
Reference in New Issue