aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2019-08-25 18:52:53 +0200
committerMatthias Andree <matthias.andree@gmx.de>2019-08-25 18:52:53 +0200
commite0e7a74bde52a1aa02d1da758128722598fb6dd8 (patch)
tree3064dd064dcde0969467c6d2e068d8ccbbd648b1 /rcfile_y.y
parent5256f6122e9843b1e9988a742ed6c2a4923bc2bd (diff)
downloadfetchmail-e0e7a74bde52a1aa02d1da758128722598fb6dd8.tar.gz
fetchmail-e0e7a74bde52a1aa02d1da758128722598fb6dd8.tar.bz2
fetchmail-e0e7a74bde52a1aa02d1da758128722598fb6dd8.zip
Align with legacy_6x.
* Normalize include order. * Backport missed bug fixes. * Remove dead code.
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 70615661..774f7155 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -6,6 +6,7 @@
*/
#include "config.h"
+#include "fetchmail.h"
#include <stdio.h>
#include <sys/types.h>
#include <sys/file.h>
@@ -462,6 +463,8 @@ int prc_parse_file (const char *pathname, const flag securecheck)
prc_errflag = 0;
querylist = hosttail = (struct query *)NULL;
+ (void)yytoknum; /* work around compiler warning */
+
errno = 0;
/* Check that the file is secure */