core: Ensure we initialize checksum in FIFO case too
This commit is contained in:
parent
9d39517554
commit
267bf8ef4a
|
|
@ -663,6 +663,8 @@ ostree_pack_file_for_input (GOutputStream *output,
|
||||||
}
|
}
|
||||||
else if (S_ISFIFO (mode))
|
else if (S_ISFIFO (mode))
|
||||||
{
|
{
|
||||||
|
if (out_checksum)
|
||||||
|
ret_checksum = g_checksum_new (G_CHECKSUM_SHA256);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue