lib/deploy: Simplify deployment creation
Minor cleanup; we were declaring a superfluous variable.
This commit is contained in:
parent
61c544df1b
commit
74bd136286
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue