Skip to content

Commit

Permalink
Ignore unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunkeler committed Apr 10, 2024
1 parent 133f674 commit 0ea9c8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/template.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ unsigned tpl_pool_func_used = 0;
struct tplfunc_frame *tpl_pool_func[1024] = {0};

void tpl_register_func(char *key, struct tplfunc_frame *frame) {
(void) key; // TODO: placeholder
tpl_pool_func[tpl_pool_func_used] = calloc(1, sizeof(tpl_pool_func[tpl_pool_func_used]));
memcpy(tpl_pool_func[tpl_pool_func_used], frame, sizeof(*frame));
tpl_pool_func_used++;
Expand Down

0 comments on commit 0ea9c8f

Please sign in to comment.