Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-selector
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-selector
Commits
0af0760b
Commit
0af0760b
authored
Mar 26, 2020
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete some dead code.
parent
e530b9a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
qp.c
src/qp.c
+0
-9
No files found.
src/qp.c
View file @
0af0760b
...
...
@@ -407,15 +407,6 @@ qp_search(const struct qp_y * const restrict y,
l
=
y
->
off
+
y
->
len
;
if
(
l
>
len
)
return
(
0
);
#if 0
if (y->len > 0) {
if (y->off > 0 && subject[y->off] != strings[y->idx][y->off])
return (0);
if (memcmp(subject + y->off, strings[y->idx] + y->off, y->len)
!= 0)
return (0);
}
#endif
if
(
y
->
len
>
0
&&
memcmp
(
subject
+
y
->
off
,
strings
[
y
->
idx
]
+
y
->
off
,
y
->
len
)
!=
0
)
return
(
0
);
...
...
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