Skip to content

Commit

Permalink
add brace
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZhou5042 committed Jan 24, 2025
1 parent 88141f3 commit 3f27f5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taskvine/src/manager/vine_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -2860,8 +2860,9 @@ static void count_worker_resources(struct vine_manager *q, struct vine_worker_in

static void update_max_worker(struct vine_manager *q, struct vine_worker_info *w)
{
if (!w)
if (!w) {
return;
}

if (w->resources->workers.total < 1) {
return;
Expand Down

0 comments on commit 3f27f5b

Please sign in to comment.