solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit effae49c6adef815bb817f59c0707f45c82d8664
parent 47965602f1064654c333c0e048253f67e0f3a6de
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 31 Mar 2017 11:58:08 +0200

Remove unused variable / dead code.

Diffstat:
Msrc/solstice_solve.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/solstice_solve.c b/src/solstice_solve.c @@ -413,7 +413,7 @@ write_paths(struct solstice* solstice, struct ssol_estimator* estimator) { struct ssol_path path; size_t ipath, npaths; - size_t nverts, nlines; + size_t nverts; size_t offset; ASSERT(solstice && estimator); @@ -431,7 +431,6 @@ write_paths(struct solstice* solstice, struct ssol_estimator* estimator) SSOL(estimator_get_tracked_path(estimator, ipath, &path)); SSOL(path_get_vertices_count(&path, &n)); nverts += n; - nlines += n - 1; } /* Write the positions of the tracked paths */