Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
44bca7b4
Commit
44bca7b4
authored
Sep 12, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hand-edit the auto-generated code for flexelint - part 2
parent
8bb7e90f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
shard_parse_vcc_enums.c
lib/libvmod_directors/shard_parse_vcc_enums.c
+0
-5
No files found.
lib/libvmod_directors/shard_parse_vcc_enums.c
View file @
44bca7b4
...
@@ -94,7 +94,6 @@ enum by_e parse_by_e (const char *m) {
...
@@ -94,7 +94,6 @@ enum by_e parse_by_e (const char *m) {
enum
healthy_e
parse_healthy_e
(
const
char
*
m
)
{
enum
healthy_e
parse_healthy_e
(
const
char
*
m
)
{
int
p
;
enum
healthy_e
r
;
enum
healthy_e
r
;
switch
(
m
[
0
])
{
switch
(
m
[
0
])
{
...
@@ -107,7 +106,6 @@ enum healthy_e parse_healthy_e (const char *m) {
...
@@ -107,7 +106,6 @@ enum healthy_e parse_healthy_e (const char *m) {
//ALL
//ALL
if
((
m
[
1
]
==
'L'
)
&&
(
m
[
2
]
==
'L'
)
&&
(
term
(
m
[
3
])))
{
if
((
m
[
1
]
==
'L'
)
&&
(
m
[
2
]
==
'L'
)
&&
(
term
(
m
[
3
])))
{
r
=
ALL
;
r
=
ALL
;
p
=
3
;
goto
ok
;
goto
ok
;
}
}
goto
invalid
;
goto
invalid
;
...
@@ -115,7 +113,6 @@ enum healthy_e parse_healthy_e (const char *m) {
...
@@ -115,7 +113,6 @@ enum healthy_e parse_healthy_e (const char *m) {
//CHOSEN
//CHOSEN
if
((
m
[
1
]
==
'H'
)
&&
(
m
[
2
]
==
'O'
)
&&
(
m
[
3
]
==
'S'
)
&&
(
m
[
4
]
==
'E'
)
&&
(
m
[
5
]
==
'N'
)
&&
(
term
(
m
[
6
])))
{
if
((
m
[
1
]
==
'H'
)
&&
(
m
[
2
]
==
'O'
)
&&
(
m
[
3
]
==
'S'
)
&&
(
m
[
4
]
==
'E'
)
&&
(
m
[
5
]
==
'N'
)
&&
(
term
(
m
[
6
])))
{
r
=
CHOSEN
;
r
=
CHOSEN
;
p
=
6
;
goto
ok
;
goto
ok
;
}
}
goto
invalid
;
goto
invalid
;
...
@@ -123,7 +120,6 @@ enum healthy_e parse_healthy_e (const char *m) {
...
@@ -123,7 +120,6 @@ enum healthy_e parse_healthy_e (const char *m) {
//IGNORE
//IGNORE
if
((
m
[
1
]
==
'G'
)
&&
(
m
[
2
]
==
'N'
)
&&
(
m
[
3
]
==
'O'
)
&&
(
m
[
4
]
==
'R'
)
&&
(
m
[
5
]
==
'E'
)
&&
(
term
(
m
[
6
])))
{
if
((
m
[
1
]
==
'G'
)
&&
(
m
[
2
]
==
'N'
)
&&
(
m
[
3
]
==
'O'
)
&&
(
m
[
4
]
==
'R'
)
&&
(
m
[
5
]
==
'E'
)
&&
(
term
(
m
[
6
])))
{
r
=
IGNORE
;
r
=
IGNORE
;
p
=
6
;
goto
ok
;
goto
ok
;
}
}
goto
invalid
;
goto
invalid
;
...
@@ -131,5 +127,4 @@ enum healthy_e parse_healthy_e (const char *m) {
...
@@ -131,5 +127,4 @@ enum healthy_e parse_healthy_e (const char *m) {
return
r
;
return
r
;
invalid:
invalid:
return
_HEALTHY_E_INVALID
;
return
_HEALTHY_E_INVALID
;
(
void
)
p
;
}
}
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