summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin/ffi/function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/src/plugin/ffi/function.rs')
-rw-r--r--plugins/warp/src/plugin/ffi/function.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/warp/src/plugin/ffi/function.rs b/plugins/warp/src/plugin/ffi/function.rs
index a7ec6593..7563bd96 100644
--- a/plugins/warp/src/plugin/ffi/function.rs
+++ b/plugins/warp/src/plugin/ffi/function.rs
@@ -67,7 +67,7 @@ pub unsafe extern "C" fn BNWARPFunctionApply(
let analysis_function = Function::from_raw(analysis_function);
match function.is_null() {
false => {
- // Set the matched function to `function` and return previous.
+ // Set the matched function to `function`.
let matched_function = ManuallyDrop::new(Arc::from_raw(function));
insert_cached_function_match(
&analysis_function,
@@ -75,7 +75,7 @@ pub unsafe extern "C" fn BNWARPFunctionApply(
)
}
true => {
- // We are removing the previous match and returning it.
+ // We are removing the previous match.
insert_cached_function_match(&analysis_function, None)
}
};