Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
Commits
df0f0fd1
Commit
df0f0fd1
authored
Dec 15, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid "const const" duplication
parent
f81b8e57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
generate.py
lib/libvcl/generate.py
+4
-1
No files found.
lib/libvcl/generate.py
View file @
df0f0fd1
...
@@ -843,7 +843,10 @@ for i in sp_variables:
...
@@ -843,7 +843,10 @@ for i in sp_variables:
fo
.
write
(
'",
\n
'
)
fo
.
write
(
'",
\n
'
)
else
:
else
:
fo
.
write
(
'
\t
"VRT_r_
%
s(req)",
\n
'
%
cnam
)
fo
.
write
(
'
\t
"VRT_r_
%
s(req)",
\n
'
%
cnam
)
if
i
[
4
][:
5
]
!=
"const"
:
fh
.
write
(
ctyp
+
" VRT_r_
%
s(const
%
s);
\n
"
%
(
cnam
,
i
[
4
]))
fh
.
write
(
ctyp
+
" VRT_r_
%
s(const
%
s);
\n
"
%
(
cnam
,
i
[
4
]))
else
:
fh
.
write
(
ctyp
+
" VRT_r_
%
s(
%
s);
\n
"
%
(
cnam
,
i
[
4
]))
restrict
(
fo
,
i
[
2
])
restrict
(
fo
,
i
[
2
])
if
len
(
i
[
3
])
==
0
:
if
len
(
i
[
3
])
==
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