]> Savannah Git Hosting - gnulib.git/commit
posixtm: avoid compiler warning in a better way
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Dec 2014 02:11:46 +0000 (18:11 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Dec 2014 02:12:14 +0000 (18:12 -0800)
commit89db07c7c6927dcd5e59dcd5fa0bdad7e40f8269
tree3a815ee32f42221f7baa1db69932ec3eb0183e1c
parentcc0009850129a39e514e00df66a7b5cc3609fb87
posixtm: avoid compiler warning in a better way

* lib/posixtm.c (IF_LINT): Remove.
(year, posix_time_parse):
Return true (not 0) if successful.  All callers changed.
(posix_time_parse): Simplify to pacify GCC without need for IF_LINT.
ChangeLog
lib/posixtm.c