commit: Quiet clang-analyzer warning

This is just another instance of the "conditionally owned"
pattern.
This commit is contained in:
Colin Walters 2023-08-26 12:26:39 -04:00
parent 5b40d4bbba
commit e2779a7cf7

View File

@ -1052,6 +1052,7 @@ write_content_object (OstreeRepo *self, const char *expected_checksum, GInputStr
actual_checksum, error))
return FALSE;
}
(void)actual_checksum_owned; // Just used to autofree
if (checksum_payload_input)
actual_payload_checksum = ot_checksum_instream_get_string (checksum_payload_input);