hygiene, lose anon-init case in date-core.h auxiliaries

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, use sloppy initted compound literal if compiler supports it

This change will turn a superfluous:

   memset(&x, 0, sizeof(x));
   return x;

into a leaner:

   return (x){};

But gcc decides to warn about missing initialisers so
the leaner code is conditionalised on HAVE_SLOPPY_INIT_STRUCT.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'code/hygiene'

* code/hygiene:
  hygiene, use sloppy initted compound literal if compiler supports it
  hygiene, lose anon-init case in date-core.h auxiliaries
hygiene, really mark unused parameters as such

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'code/hygiene'

* code/hygiene:
  hygiene, really mark unused parameters as such
bump, release v0.2.6 is imminent

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide regression files for bug/21

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, don't fix date differences when the day difference is 0

This closes bug/21 (https://github.com/hroptatyr/dateutils/issues/21).

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'bug/21'

* bug/21:
  fix, don't fix date differences when the day difference is 0
  test, provide regression files for bug/21