Commit ed92a3e8 authored by Oran Agra's avatar Oran Agra Committed by Yoav Steinberg
Browse files

Resolve nonsense static analysis warnings

parent 5a829404
...@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment