Fix bad assignment found by Flexelint

parent 252bb89b
......@@ -269,7 +269,7 @@ tus_file_final_fini(struct tus_file_core *fcore)
assert(fcore->ptr_type == TFCP_CONCAT);
CAST_OBJ_NOTNULL(concat, fcore->ptr, TUS_CONCAT_MAGIC);
fcore->ptr = NULL;
fcore->ptr_type == TFCP_INVALID;
fcore->ptr_type = TFCP_INVALID;
assert (fcore->len >= sizeof *concat);
fcore->len = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment