lib/deploy: Simplify deployment creation

Minor cleanup; we were declaring a superfluous variable.
This commit is contained in:
Jonathan Lebon 2020-08-17 09:48:11 -04:00
parent 61c544df1b
commit 74bd136286
1 changed files with 1 additions and 3 deletions

View File

@ -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 */