summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-30 15:11:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-04 15:33:44 +0300
commitb4e53a7da2789463354ea7b621e6751cb7f31811 (patch)
tree7492be266710d887f443d5f2d3406bdf77057296 /src/common
parent97ada50ad4488390f21e49a1d9f1d4c7e28aa24f (diff)
downloadhercules-b4e53a7da2789463354ea7b621e6751cb7f31811.tar.gz
hercules-b4e53a7da2789463354ea7b621e6751cb7f31811.tar.bz2
hercules-b4e53a7da2789463354ea7b621e6751cb7f31811.tar.xz
hercules-b4e53a7da2789463354ea7b621e6751cb7f31811.zip
Fix warning in strlib.c
Diffstat (limited to 'src/common')
-rw-r--r--src/common/strlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index b67adb63c..75ce2a272 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.delim = delim;
svstate.done = false;
svstate.start = 0;
+ svstate.end = 0;
// parse
count = 0;