diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-01-09 13:53:19 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-01-09 13:53:19 +0200 |
commit | ca94270a5e30add9b364d32220fb38d457ebd3f2 (patch) | |
tree | 7b2a3c0682acd22bab29ae9cf4180853756b04b4 /src | |
parent | 3df291f812208a8ce07a2878784a0a73e4587193 (diff) | |
download | grecs-ca94270a5e30add9b364d32220fb38d457ebd3f2.tar.gz grecs-ca94270a5e30add9b364d32220fb38d457ebd3f2.tar.bz2 |
Bugfix
* src/meta1-lex.l: Fix erroneous #ifndef
Diffstat (limited to 'src')
-rw-r--r-- | src/meta1-lex.l | 2 | ||||
-rw-r--r-- | src/tree.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/meta1-lex.l b/src/meta1-lex.l index 1b686bb..75603d3 100644 --- a/src/meta1-lex.l +++ b/src/meta1-lex.l | |||
@@ -21,7 +21,7 @@ | |||
21 | /* This file implements a lexical analyzer for MeTA1 main configuration file. | 21 | /* This file implements a lexical analyzer for MeTA1 main configuration file. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef HAVE_CONFIG_H | 24 | #ifdef HAVE_CONFIG_H |
25 | # include <config.h> | 25 | # include <config.h> |
26 | #endif | 26 | #endif |
27 | #include "grecs.h" | 27 | #include "grecs.h" |
@@ -243,7 +243,6 @@ grecs_tree_free(struct grecs_node *node) | |||
243 | { | 243 | { |
244 | if (!node) | 244 | if (!node) |
245 | return 0; | 245 | return 0; |
246 | /* FIXME: Check if that's a node_type_root */ | ||
247 | if (node->type != grecs_node_root) { | 246 | if (node->type != grecs_node_root) { |
248 | errno = EINVAL; | 247 | errno = EINVAL; |
249 | return 1; | 248 | return 1; |