fix: Initialise variables to keep CI from breaking.

package
GreekStapler 2023-02-02 11:02:31 +00:00
parent e253e039c3
commit df83bf9fb3
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);
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_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,
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("\npkgbase = ", base);