Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2e2f57e2
Unverified
Commit
2e2f57e2
authored
May 06, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
May 06, 2020
Browse files
Merge pull request #7201 from braddunbar/stringmatchlen
Remove unreachable branch.
parents
028eb457
5508c228
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util.c
View file @
2e2f57e2
...
...
@@ -67,8 +67,6 @@ int stringmatchlen(const char *pattern, int patternLen,
return
0
;
/* no match */
break
;
case
'?'
:
if
(
stringLen
==
0
)
return
0
;
/* no match */
string
++
;
stringLen
--
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment