schiff

Estimate the radiative properties of soft particless
git clone git://git.meso-star.com/schiff.git
Log | Files | Refs | README | LICENSE

commit 2a684b4d4394e01bf43b449624951c6d0300a383
parent b1bcebf835ca9c010527dc192a9ed083ce31c7cc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 24 Nov 2015 10:39:25 +0100

Rm a useless warn msg in the parsing of histograms

When all histogram entries were parsed, a message was printed if the
stream was not empty. This is a bad design choice as well as useless and
boring.

Diffstat:
Msrc/schiff_histogram.c | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/schiff_histogram.c b/src/schiff_histogram.c @@ -246,13 +246,7 @@ schiff_histogram_load_stream res = RES_BAD_ARG; goto error; } - - if(res == RES_OK) { - fprintf(stderr, "%s:%lu ignore subsequent lines.\n", - stream_name, (unsigned long)iline); - } else if(res == RES_EOF) { - res = RES_OK; - } + if(res == RES_EOF) res = RES_OK; if(res != RES_OK) goto error; /* Normalize the histogram */