Fix lint
This commit is contained in:
parent
c938b71904
commit
0a8cf84365
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -28,3 +28,4 @@ r5-java/tmp
|
|||
property-data
|
||||
property-data2
|
||||
property-data3
|
||||
property-data4
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ fn enable_jemalloc_background_thread() {
|
|||
// Safety: write-only mallctl of a bool to a valid control name.
|
||||
unsafe {
|
||||
tikv_jemalloc_sys::mallctl(
|
||||
b"background_thread\0".as_ptr().cast(),
|
||||
c"background_thread".as_ptr().cast(),
|
||||
std::ptr::null_mut(),
|
||||
std::ptr::null_mut(),
|
||||
std::ptr::addr_of!(enabled) as *mut core::ffi::c_void,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue