diff options
author | Haru <haru@dotalux.com> | 2016-05-01 05:18:52 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-05-01 05:18:52 +0200 |
commit | a84c02d557cbc30dd51e662bf99439b95ca29859 (patch) | |
tree | c7570e1c5d65a5a3d8901e4de07c83d2bd88c033 /src/common/strlib.c | |
parent | 1a2a4f1477ebddcaefd132c141f7bbf64b23f016 (diff) | |
parent | 562459d2a293af8273d08a680a01038462faa073 (diff) | |
download | hercules-a84c02d557cbc30dd51e662bf99439b95ca29859.tar.gz hercules-a84c02d557cbc30dd51e662bf99439b95ca29859.tar.bz2 hercules-a84c02d557cbc30dd51e662bf99439b95ca29859.tar.xz hercules-a84c02d557cbc30dd51e662bf99439b95ca29859.zip |
Merge pull request #1277 from 4144/gccwarnings
Fix some issues found by gcc 6 with -O3.
Diffstat (limited to 'src/common/strlib.c')
-rw-r--r-- | src/common/strlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c index 8f164f2e9..8a2de1ee0 100644 --- a/src/common/strlib.c +++ b/src/common/strlib.c @@ -629,6 +629,7 @@ int sv_parse(const char* str, int len, int startoff, char delim, int* out_pos, i svstate.opt = opt; svstate.delim = delim; svstate.done = false; + svstate.start = 0; // parse count = 0; |