Skip to content

Commit

Permalink
Fix incorrect dereference
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Jan 26, 2024
1 parent 8820812 commit d78baa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dnmd/write.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ int32_t md_set_column_value_as_guid(mdcursor_t c, col_index_t col_idx, uint32_t
do
{
static const mdguid_t empty_guid = { 0 };
if (memcmp(&guid, &empty_guid, sizeof(mdguid_t)) == 0)
if (memcmp(guid, &empty_guid, sizeof(mdguid_t)) == 0)
{
if (!write_column_data(&acxt, 0))
return -1;
Expand Down

0 comments on commit d78baa3

Please sign in to comment.