Skip to content

Commit

Permalink
d.histogram: Fix dead store warnings in bar.c (OSGeo#3927)
Browse files Browse the repository at this point in the history
* d.histogram: Remove unnecessary assignment of draw variable in bar.c
  • Loading branch information
ShubhamDesai authored Jun 30, 2024
1 parent b5bfcd5 commit 3738001
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion display/d.histogram/bar.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ int bar(struct stat_list *dist_stats, /* list of distribution statistics */
for (i = dist_stats->mincat; i <= dist_stats->maxcat; i++) {
if (!ptr)
break;
draw = NO;
/* figure bar color and height
*
* the cat number determines the color, the corresponding stat,
Expand Down

0 comments on commit 3738001

Please sign in to comment.