summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 2349631..04edb03 100644
--- a/src/util.c
+++ b/src/util.c
@@ -238,7 +238,7 @@ HAPI char *util_replace_string(const char *src, const char *pattern, const char
const char *ptr;
char *tmp;
char *ret = NULL;
- int idx;
+ int idx = 0;
int out_idx;
int out_sz;
enum {