projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c544d
)
lib/deploy: Simplify deployment creation
author
Jonathan Lebon
<jonathan@jlebon.com>
Mon, 17 Aug 2020 13:48:11 +0000
(09:48 -0400)
committer
Jonathan Lebon
<jonathan@jlebon.com>
Mon, 17 Aug 2020 13:48:57 +0000
(09:48 -0400)
Minor cleanup; we were declaring a superfluous variable.
src/libostree/ostree-sysroot-deploy.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-sysroot-deploy.c
b/src/libostree/ostree-sysroot-deploy.c
index 0179873b8be8340360833e57710eb0ad19a28acf..4b678890f943862a71fa2b6ece77e2a4ac271119 100644
(file)
--- a/
src/libostree/ostree-sysroot-deploy.c
+++ b/
src/libostree/ostree-sysroot-deploy.c
@@
-2699,10
+2699,8
@@
sysroot_initialize_deployment (OstreeSysroot *self,
cancellable, error))
return FALSE;
- g_autofree char *new_bootcsum = NULL;
g_autoptr(OstreeDeployment) new_deployment =
- ostree_deployment_new (0, osname, revision, new_deployserial,
- new_bootcsum, -1);
+ ostree_deployment_new (0, osname, revision, new_deployserial, NULL, -1);
ostree_deployment_set_origin (new_deployment, origin);
/* Check out the userspace tree onto the filesystem */