fix: Initialise variables to keep CI from breaking.

GreekStapler 2023-02-02 11:02:31 +00:00
parent 655daff485
commit c0925fec14
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ vieter_package_error vieter_package_read_archive(vieter_package *pkg,
int compression_code = archive_filter_code(a, 0); int compression_code = archive_filter_code(a, 0);
const char *path_name; const char *path_name;
vieter_package_info *pkg_info; vieter_package_info *pkg_info = NULL;
vieter_package_dynarray *files = vieter_package_dynarray_init(16); vieter_package_dynarray *files = vieter_package_dynarray_init(16);
vieter_package_dynarray_add(files, "%FILES%"); vieter_package_dynarray_add(files, "%FILES%");

View File

@ -63,7 +63,7 @@ void vieter_package_info_free(vieter_package_info *pkg_info) {
void vieter_package_info_parse(vieter_package_info *pkg_info, void vieter_package_info_parse(vieter_package_info *pkg_info,
char *pkg_info_str) { char *pkg_info_str) {
char *value_ptr = pkg_info_str, *tail_ptr; char *value_ptr = pkg_info_str, *tail_ptr = NULL;
PKG_INFO_STRING("\npkgname = ", name); PKG_INFO_STRING("\npkgname = ", name);
PKG_INFO_STRING("\npkgbase = ", base); PKG_INFO_STRING("\npkgbase = ", base);