plugin_framework, remove unused mut
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
522f6f3309
commit
97e9682757
@ -308,7 +308,7 @@ fn request_plugin_sign(id: String, msg_to_rustdesk: MsgToRustDesk) -> PluginRetu
|
|||||||
"",
|
"",
|
||||||
&[],
|
&[],
|
||||||
) {
|
) {
|
||||||
Ok(mut ret) => {
|
Ok(ret) => {
|
||||||
assert!(!ret.msg.is_null());
|
assert!(!ret.msg.is_null());
|
||||||
let msg = cstr_to_string(ret.msg).unwrap_or_default();
|
let msg = cstr_to_string(ret.msg).unwrap_or_default();
|
||||||
free_c_ptr(ret.msg as _);
|
free_c_ptr(ret.msg as _);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user