ignore unused variable

This commit is contained in:
Kevin Gorham 2018-11-21 02:04:06 -05:00
parent 4fe155ac20
commit 19212b14c4
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ use std::os::raw::{c_char, c_int};
/// For now, this just returns a magic number
#[no_mangle]
pub extern "C" fn test_response(input: *const c_char) -> c_int {
pub extern "C" fn test_response(_input: *const c_char) -> c_int {
let magic_number = 42;
magic_number
}