diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index c35faee1..83efdba8 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -1322,7 +1322,7 @@ int SYMEXPORT alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls, char *temporary_cachedir = NULL; alpm_list_t *payloads = NULL; const alpm_list_t *i; - alpm_event_t event = {0}; + alpm_event_t event; CHECK_HANDLE(handle, return -1); ASSERT(*fetched == NULL, RET_ERR(handle, ALPM_ERR_WRONG_ARGS, -1)); diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 087c48de..cceb8488 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -776,7 +776,7 @@ static int download_files(alpm_handle_t *handle) char * temporary_cachedir = NULL; alpm_list_t *i, *files = NULL; int ret = 0; - alpm_event_t event = {0}; + alpm_event_t event; alpm_list_t *payloads = NULL; cachedir = _alpm_filecache_setup(handle);