Skip to content

Commit

Permalink
Fix uninitialized variable warning
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <quincey@koziol.cc>
  • Loading branch information
qkoziol committed Oct 6, 2024
1 parent c850364 commit f07ab87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5VLint.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ H5VL_file_is_same(const H5VL_object_t *vol_obj1, const H5VL_object_t *vol_obj2,
{
const H5VL_class_t *cls1; /* VOL connector class struct for first object */
const H5VL_class_t *cls2; /* VOL connector class struct for second object */
int cmp_value; /* Comparison result */
int cmp_value = 0; /* Comparison result */
herr_t ret_value = SUCCEED; /* Return value */

FUNC_ENTER_NOAPI(FAIL)
Expand Down

0 comments on commit f07ab87

Please sign in to comment.