diff options
author | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-18 18:35:01 +0000 |
---|---|---|
committer | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-18 18:35:01 +0000 |
commit | 78738567a83355973d1429a6fb7613fb08856fff (patch) | |
tree | 5481c3fcf4fd97ee0282cffccc3173dbcf8e69a6 /pcretest.c | |
parent | 8b31f79fdbf698cf8743b6bcac264efdacb19ada (diff) | |
download | pcre-78738567a83355973d1429a6fb7613fb08856fff.tar.gz |
Fix uninitialised variable warnings
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1126 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcretest.c')
-rw-r--r-- | pcretest.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2244,7 +2244,7 @@ return(result); static int pchar(pcre_uint32 c, FILE *f) { -int n; +int n = 0; if (PRINTOK(c)) { if (f != NULL) fprintf(f, "%c", c); @@ -4200,6 +4200,7 @@ while (!done) new_info(re, NULL, PCRE_INFO_NAMECOUNT, &name_count); new_info(re, NULL, PCRE_INFO_NAMEENTRYSIZE, &name_entry_size); + real_pcre_size = 0; #ifdef SUPPORT_PCRE8 if (REAL_PCRE_FLAGS(re) & PCRE_MODE8) real_pcre_size = sizeof(real_pcre); |