diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-12-13 22:31:28 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-12-13 22:31:28 -0800 |
commit | b5d42225dec46ce9a0a0d6eaf59c442952455b47 (patch) | |
tree | 3734024657434a2e403bdeaa128d4e612f0565f5 /mi | |
parent | 8cb3f72ad2c0fe747e5178b7d593380550a07f76 (diff) | |
download | mc-b5d42225dec46ce9a0a0d6eaf59c442952455b47.tar.gz |
Initialize ret() to 0.
Fix scan-build warning.
Diffstat (limited to 'mi')
-rw-r--r-- | mi/match.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -425,6 +425,7 @@ static int addstr(Node *pat, Node *val, Dtree *start, Dtree *accept, Node ***cap last = NULL; nlast = 0; + ret = 0; if (addpat(p, v, start, next, cap, ncap, &last, &nlast)) ret = 1; |