Reported by Bruno Haible in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00038.html
* lib/parse-datetime.y (parse_datetime2): Do not use
uninitialized.
+2017-07-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ parse-datetime: fix uninit var bug
+ Reported by Bruno Haible in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00038.html
+ * lib/parse-datetime.y (parse_datetime2): Do not use
+ uninitialized.
+
2017-07-05 Bruno Haible <bruno@clisp.org>
doc: Update for MSVC 14.
parser_control pc;
pc.input = p;
+ pc.parse_datetime_debug = (flags & PARSE_DATETIME_DEBUG) != 0;
if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value))
{
if (pc.parse_datetime_debug)
pc.dsts_seen = 0;
pc.zones_seen = 0;
pc.year_seen = false;
- pc.parse_datetime_debug = (flags & PARSE_DATETIME_DEBUG) != 0;
pc.debug_dates_seen = false;
pc.debug_days_seen = false;
pc.debug_times_seen = false;