Skip to content

Commit 3827d19

Browse files
Simply discard perms
1 parent 80420cb commit 3827d19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/symbolize/gimli/parse_running_mmaps_unix.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub(super) struct MapsEntry {
2020
/// x = execute
2121
/// s = shared
2222
/// p = private (copy on write)
23-
perms: [char; 4],
23+
// perms: [char; 4],
2424
/// Offset into the file (or "whatever").
2525
// offset: u64,
2626
/// device (major, minor)
@@ -115,7 +115,7 @@ impl FromStr for MapsEntry {
115115
} else {
116116
return Err(parse_err);
117117
};
118-
let perms: [char; 4] = {
118+
let _perms: [char; 4] = {
119119
let mut chars = perms_str.chars();
120120
let mut c = || chars.next().ok_or("insufficient perms");
121121
let perms = [c()?, c()?, c()?, c()?];
@@ -135,7 +135,7 @@ impl FromStr for MapsEntry {
135135

136136
Ok(MapsEntry {
137137
address,
138-
perms,
138+
// perms,
139139
// offset,
140140
// dev,
141141
// inode,

0 commit comments

Comments
 (0)