Skip to content

Commit

Permalink
Fix uninitialized variable issue in o_var.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Jul 8, 2024
1 parent e952443 commit 0ad0968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raster/r.statistics/o_var.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int o_var(const char *basemap, const char *covermap, const char *outputmap,
{
struct Popen stats_child, reclass_child;
FILE *stats, *reclass;
int first, i, count;
int first, i, count = 0;
size_t mem;
long basecat, covercat, catb, catc;
double value, vari, x;
Expand Down

0 comments on commit 0ad0968

Please sign in to comment.