diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-06-01 17:15:19 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-06-01 17:16:37 +0300 |
commit | 776f6ebe0a330c3a5c0ba541c291ee7ffbbd5151 (patch) | |
tree | 24c12c4cd7579d9500d69398e98623661eca165b /src | |
parent | 0f5490281fa1f314da14ea4daa3ebbefda9c008d (diff) | |
download | grecs-776f6ebe0a330c3a5c0ba541c291ee7ffbbd5151.tar.gz grecs-776f6ebe0a330c3a5c0ba541c291ee7ffbbd5151.tar.bz2 |
Minor change
* src/parser.c (grecs_error_count,grecs_adjust_string_locations): Initialize
Diffstat (limited to 'src')
-rw-r--r-- | src/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c index 8d917f9..71fc59d 100644 --- a/src/parser.c +++ b/src/parser.c | |||
@@ -22,11 +22,11 @@ | |||
22 | #include <errno.h> | 22 | #include <errno.h> |
23 | #include "grecs.h" | 23 | #include "grecs.h" |
24 | 24 | ||
25 | int grecs_error_count; | 25 | int grecs_error_count = 0; |
26 | int grecs_default_port = 0; | 26 | int grecs_default_port = 0; |
27 | 27 | ||
28 | int grecs_trace_flags = 0; | 28 | int grecs_trace_flags = 0; |
29 | int grecs_adjust_string_locations; | 29 | int grecs_adjust_string_locations = 0; |
30 | 30 | ||
31 | #ifndef GRECS_DEFAULT_PARSER | 31 | #ifndef GRECS_DEFAULT_PARSER |
32 | # define GRECS_DEFAULT_PARSER grecs_grecs_parser | 32 | # define GRECS_DEFAULT_PARSER grecs_grecs_parser |