Skip to content

Commit

Permalink
fix return with no value error (gcc14)
Browse files Browse the repository at this point in the history
for #160
  • Loading branch information
step- committed Apr 19, 2024
1 parent 8a3e911 commit 7670655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variables.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ static gint do_variables_count_widgets(variable *actual, gint n)
actual = root;

if (actual == NULL)
return;
return n;

if (actual->left != NULL)
n = do_variables_count_widgets(actual->left, n);
Expand Down

0 comments on commit 7670655

Please sign in to comment.