Skip to content

Commit

Permalink
[typo] No NULL. Refs #318
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Aug 25, 2024
1 parent 4548609 commit 1a26f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document/libdom/mapa.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ find_in_map(void *m, int offset)
struct el_mapa *mapa = (struct el_mapa *)m;

if (!mapa) {
return;
return NULL;
}
struct el_node_elem key = { .offset = offset, .node = NULL };
struct el_node_elem *item = (struct el_node_elem *)bsearch(&key, mapa->table, mapa->size, sizeof(*item), compare);
Expand Down

0 comments on commit 1a26f49

Please sign in to comment.