Fix warnings on variables not needing mut (#48)

chore: fix compiler warnings (unused mut)
This commit is contained in:
Lars-Magnus Skog
2019-05-08 00:44:40 +02:00
committed by GitHub
parent 22285f7fa0
commit 0bbda91e77
44 changed files with 1913 additions and 2115 deletions

View File

@@ -116,7 +116,7 @@ pub unsafe fn dc_jobthread_fetch(
jobthread: &mut dc_jobthread_t,
use_network: libc::c_int,
) {
let mut start;
let start;
{
let &(ref lock, _) = &*jobthread.state.clone();