libcsa: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-21 01:12:45 +00:00
committed by Jon Trulson
parent fa4fe1fb47
commit 35c9fd24a3
3 changed files with 6 additions and 6 deletions

View File

@@ -1055,7 +1055,7 @@ _DtCm_table_delete(
extern CSA_return_code
_DtCm_table_size(Calendar *cal, int *size)
{
int *res;
int *res = NULL;
CSA_return_code stat = CSA_SUCCESS;
_DtCm_Connection *conn;
@@ -1275,7 +1275,7 @@ _DtCm_table_unregister_target(
nullreturned = B_TRUE;
break;
default:
stat = CSA_E_FAILURE;
return CSA_E_FAILURE;
}
if (nullreturned) {
@@ -1360,7 +1360,7 @@ _DtCm_table_register_target(
nullreturned = B_TRUE;
break;
default:
stat = CSA_E_FAILURE;
return CSA_E_FAILURE;
}
if (nullreturned) {