Skip to content

Commit 50512ed

Browse files
leonardo-albertovichedsiper
authored andcommitted
lib: cprofiles: fixed incorrect check
Signed-off-by: Leonardo Alminana <[email protected]>
1 parent a14fcfc commit 50512ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/cprofiles/src/cprof_encode_text.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -631,9 +631,9 @@ static int encode_int64_t_array(
631631
}
632632
}
633633

634-
result = cfl_sds_printf(&context->output_buffer,
635-
"%s",
636-
suffix);
634+
sds_result = cfl_sds_printf(&context->output_buffer,
635+
"%s",
636+
suffix);
637637

638638
if (sds_result == NULL) {
639639
return CPROF_ENCODE_TEXT_ALLOCATION_ERROR;

0 commit comments

Comments
 (0)