forked from vieter-v/libvieter
fix: Initialise variables to keep CI from breaking.
parent
e253e039c3
commit
df83bf9fb3
|
@ -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%");
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue