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
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
Show 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)
b
=
bytes
/
sc
->
pagesize
;
if
(
b
>=
NBUCKET
)
b
=
NBUCKET
-
1
;
for
(
sp
=
NULL
;
b
<
NBUCKET
-
1
;
b
++
)
{
sp
=
NULL
;
for
(;
b
<
NBUCKET
-
1
;
b
++
)
{
sp
=
VTAILQ_FIRST
(
&
sc
->
free
[
b
]);
if
(
sp
!=
NULL
)
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