Skip to content

Commit

Permalink
d.linegraph: Fix dead store warning in main.c (OSGeo#3918)
Browse files Browse the repository at this point in the history
Fix dead store warning in d.linegraph module

Co-authored-by: Shubham Vasudeo Desai <sdesai8@vclvm179-48.vcl.ncsu.edu>
  • Loading branch information
ShubhamDesai and Shubham Vasudeo Desai authored Jun 25, 2024
1 parent 3ef6e61 commit 541276a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display/d.linegraph/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ int main(int argc, char **argv)
in[i].value = 0.0;
in[i].num_pnts = 0;

while ((err = fscanf(in[i].fp, "%f", &in[i].value)) != EOF) {
while (fscanf(in[i].fp, "%f", &in[i].value) != EOF) {
if (scale_y_values)
in[i].value *= y_scale;
in[i].num_pnts++;
Expand Down

0 comments on commit 541276a

Please sign in to comment.