mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Fix a compiler warning.
Fix a compiler warning in chunk_record() that was due to reading node rather than xnode. In practice this did not cause any correctness issue, but dataflow analysis in some compilers cannot tell that node and xnode are always equal in cases that the read is reached.
This commit is contained in:
@@ -294,7 +294,7 @@ label_return:
|
||||
if (xnode != NULL)
|
||||
base_node_dealloc(xnode);
|
||||
if (xprev != NULL)
|
||||
base_node_dealloc(prev);
|
||||
base_node_dealloc(xprev);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user