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
91ac88d7
Commit
91ac88d7
authored
Nov 13, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence a Flexelint warning
parent
43b009a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
storage_file.c
bin/varnishd/storage/storage_file.c
+2
-1
No files found.
bin/varnishd/storage/storage_file.c
View file @
91ac88d7
...
@@ -227,7 +227,8 @@ alloc_smf(struct smf_sc *sc, size_t bytes)
...
@@ -227,7 +227,8 @@ alloc_smf(struct smf_sc *sc, size_t bytes)
b
=
bytes
/
sc
->
pagesize
;
b
=
bytes
/
sc
->
pagesize
;
if
(
b
>=
NBUCKET
)
if
(
b
>=
NBUCKET
)
b
=
NBUCKET
-
1
;
b
=
NBUCKET
-
1
;
for
(
sp
=
NULL
;
b
<
NBUCKET
-
1
;
b
++
)
{
sp
=
NULL
;
for
(;
b
<
NBUCKET
-
1
;
b
++
)
{
sp
=
VTAILQ_FIRST
(
&
sc
->
free
[
b
]);
sp
=
VTAILQ_FIRST
(
&
sc
->
free
[
b
]);
if
(
sp
!=
NULL
)
if
(
sp
!=
NULL
)
break
;
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