Skip to content

Commit

Permalink
Add variable initialization to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii Pravda committed May 27, 2020
1 parent eace5bb commit 7912060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mis.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Array* mis(Graph *input)

Array* core()
{
int d_max = -1, v;
int d_max = -1, v = 0;
for(int w=0; w<graph->size; w++){
if(OUT & graph->mark[w])
continue;
Expand Down

0 comments on commit 7912060

Please sign in to comment.