Reduce warnings

This commit is contained in:
Jeremy Soller
2018-11-10 07:52:45 -07:00
parent 131dcac554
commit ebffc977b2
20 changed files with 28 additions and 54 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ pub unsafe extern "C" fn strspn(s1: *const c_char, s2: *const c_char) -> size_t
inner_strspn(s1, s2, true)
}
unsafe fn inner_strstr(mut haystack: *const c_char, mut needle: *const c_char, mask: c_char) -> *mut c_char {
unsafe fn inner_strstr(mut haystack: *const c_char, needle: *const c_char, mask: c_char) -> *mut c_char {
while *haystack != 0 {
let mut i = 0;
loop {