Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
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
slash
Commits
196c4aad
Unverified
Commit
196c4aad
authored
Dec 21, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexelint: Avoid side effect in initializer
parent
8134e93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
fellow_cache.c
src/fellow_cache.c
+3
-1
No files found.
src/fellow_cache.c
View file @
196c4aad
...
...
@@ -5152,6 +5152,7 @@ fellow_cache_obj_delete(struct fellow_cache *fc,
/* one additional region for the object itself */
struct
buddy_off_extent
region
[
FCO_MAX_REGIONS
+
1
]
=
{{
0
}};
struct
buddy_returns
*
rets
;
struct
buddy
*
dskbuddy
;
struct
stvfe_tune
*
tune
;
enum
fcol_state
logstate
;
fellow_disk_block
fdba
;
...
...
@@ -5162,7 +5163,8 @@ fellow_cache_obj_delete(struct fellow_cache *fc,
fdo
=
FCO_FDO
(
fco
);
CHECK_OBJ_NOTNULL
(
fdo
,
FELLOW_DISK_OBJ_MAGIC
);
rets
=
BUDDY_RETURNS_STK
(
fellow_dskbuddy
(
fc
->
ffd
),
BUDDY_RETURNS_MAX
);
dskbuddy
=
fellow_dskbuddy
(
fc
->
ffd
);
rets
=
BUDDY_RETURNS_STK
(
dskbuddy
,
BUDDY_RETURNS_MAX
);
struct
fellow_lru_chgbatch
lcb
[
1
]
=
FELLOW_LRU_CHGBATCH_INIT
(
lcb
,
fco
,
1
);
...
...
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