Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ed92a3e8
Commit
ed92a3e8
authored
May 03, 2021
by
Oran Agra
Committed by
Yoav Steinberg
Oct 12, 2021
Browse files
Resolve nonsense static analysis warnings
parent
5a829404
Changes
1
Hide whitespace changes
Inline
Side-by-side
deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h
View file @
ed92a3e8
...
@@ -240,7 +240,7 @@ iget_defrag_hint(tsdn_t *tsdn, void* ptr) {
...
@@ -240,7 +240,7 @@ iget_defrag_hint(tsdn_t *tsdn, void* ptr) {
int
free_in_slab
=
extent_nfree_get
(
slab
);
int
free_in_slab
=
extent_nfree_get
(
slab
);
if
(
free_in_slab
)
{
if
(
free_in_slab
)
{
const
bin_info_t
*
bin_info
=
&
bin_infos
[
binind
];
const
bin_info_t
*
bin_info
=
&
bin_infos
[
binind
];
int
curslabs
=
bin
->
stats
.
curslabs
;
unsigned
long
curslabs
=
bin
->
stats
.
curslabs
;
size_t
curregs
=
bin
->
stats
.
curregs
;
size_t
curregs
=
bin
->
stats
.
curregs
;
if
(
bin
->
slabcur
)
{
if
(
bin
->
slabcur
)
{
/* remove slabcur from the overall utilization */
/* remove slabcur from the overall utilization */
...
...
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