aboutsummaryrefslogtreecommitdiff
path: root/src/spm.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-01-21 23:49:46 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-01-21 23:49:46 -0500
commit1a427e0e5e16bc75d05a961a4001923b26b7b2f8 (patch)
tree375c1e80c8982836a58b03839dd75921c1c6233b /src/spm.c
parent77a35c4a098a11bcb8d93a8748f21a930b88b0d5 (diff)
downloadspmc-1a427e0e5e16bc75d05a961a4001923b26b7b2f8.tar.gz
groundhog day
Diffstat (limited to 'src/spm.c')
-rw-r--r--src/spm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/spm.c b/src/spm.c
index b732f83..4cfffd9 100644
--- a/src/spm.c
+++ b/src/spm.c
@@ -149,7 +149,6 @@ int main(int argc, char *argv[], char *arge[]) {
// Construct installation runtime environment
RuntimeEnv *rt = runtime_copy(arge);
- SPM_Hierarchy *root_hierarchy = NULL;
// TODO: Move environment allocation out of (above) this loop if possible
// TODO: replace variables below with SPM_Hierarchy, and write some control functions
@@ -180,7 +179,7 @@ int main(int argc, char *argv[], char *arge[]) {
dep_init(&deps);
printf("Reading package manifest... ");
- Manifest *manifest = manifest_read();
+ Manifest *manifest = manifest_read(NULL);
if (!manifest) {
fprintf(stderr, "Package manifest is missing or corrupt\n");
runtime_free(rt);
@@ -282,7 +281,7 @@ int main(int argc, char *argv[], char *arge[]) {
}
if (RUNTIME_SEARCH || RUNTIME_LIST) {
- Manifest *info = manifest_read();
+ Manifest *info = manifest_read(NULL);
char name[255];
char op[25];
char ver[255];