Skip to content

Commit

Permalink
removing unnecessary assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
riesentoaster committed Nov 26, 2024
1 parent afc1e90 commit 8a80bca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libafl_bolts/src/shmem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,6 @@ pub mod unix_shmem {
// Keep room for the leading slash and trailing NULL.
let max_copy = usize::min(filename.len(), MAX_MMAP_FILENAME_LEN - 2);
filename_path[0] = b'/';
filename_path[MAX_MMAP_FILENAME_LEN - 1] = 0;
filename_path[1..=max_copy].copy_from_slice(&filename[..max_copy]);

log::info!(
Expand Down

0 comments on commit 8a80bca

Please sign in to comment.