Closed ShubhamDesai closed 1 week ago
This pull request addresses a dead store warning in the d.linegraph module's main.c file.
d.linegraph
main.c
Fixed Issue:
Warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'.
Changes Made:
Replaced the assignment and usage of err in the following block:
while ((err = fscanf(in[i].fp, "%f", &in[i].value)) != EOF) {
}
with while (fscanf(in[i].fp, "%f", &in[i].value) != EOF) {
Proxying @lbartoletti's approval
This pull request addresses a dead store warning in the
d.linegraph
module'smain.c
file.Fixed Issue:
Warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'.
Changes Made:
Replaced the assignment and usage of err in the following block:
while ((err = fscanf(in[i].fp, "%f", &in[i].value)) != EOF) {
}
with while (fscanf(in[i].fp, "%f", &in[i].value) != EOF) {
}