mirror of https://github.com/getdnsapi/getdns.git
Fix things that came out of static analysis
This commit is contained in:
parent
084286513f
commit
48209a038c
|
@ -328,8 +328,8 @@ _getdns_list_copy(const struct getdns_list * srclist,
|
|||
srclist->mf.mf.ext.realloc,
|
||||
srclist->mf.mf.ext.free
|
||||
);
|
||||
if (!dstlist)
|
||||
return GETDNS_RETURN_GENERIC_ERROR;
|
||||
if (!*dstlist)
|
||||
return GETDNS_RETURN_MEMORY_ERROR;
|
||||
|
||||
for (i = 0; i < srclist->numinuse; i++) {
|
||||
switch (srclist->items[i].dtype) {
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
(
|
||||
cd "${BUILDDIR}/build-static-analysis"
|
||||
scan-build -o ../scan-build-reports -v --status-bugs make -j 4 everything
|
||||
)
|
||||
chmod 0400 ./400-static-analysis
|
||||
scp -o "StrictHostKeyChecking no" -i ./400-static-analysis -r "${BUILDDIR}/scan-build-reports" static-analysis@getdnsapi.net:scan-build-resports-$$-`date +%s`
|
||||
) || (
|
||||
chmod 0400 ./400-static-analysis
|
||||
scp -o "StrictHostKeyChecking no" -i ./400-static-analysis -r "${BUILDDIR}/scan-build-reports" static-analysis@getdnsapi.net:scan-build-resports-$$-`date +%s`
|
||||
false
|
||||
)
|
||||
|
|
2
stubby
2
stubby
|
@ -1 +1 @@
|
|||
Subproject commit 499a82f55579bbba754cd620f88b20da6a167929
|
||||
Subproject commit 6114230904d9413514d521358ca7956aac99e822
|
Loading…
Reference in New Issue