Skip to content

Commit 9c00af8

Browse files
Simply discard perms
1 parent 9bc29a0 commit 9c00af8

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
@@ -18,7 +18,7 @@ pub(super) struct MapsEntry {
1818
/// x = execute
1919
/// s = shared
2020
/// p = private (copy on write)
21-
perms: [char; 4],
21+
// perms: [char; 4],
2222
/// Offset into the file (or "whatever").
2323
// offset: usize,
2424
/// device (major, minor)
@@ -105,7 +105,7 @@ impl FromStr for MapsEntry {
105105
} else {
106106
return Err(parse_err);
107107
};
108-
let perms: [char; 4] = {
108+
let _perms: [char; 4] = {
109109
let mut chars = perms_str.chars();
110110
let mut c = || chars.next().ok_or("insufficient perms");
111111
let perms = [c()?, c()?, c()?, c()?];
@@ -125,7 +125,7 @@ impl FromStr for MapsEntry {
125125

126126
Ok(MapsEntry {
127127
address,
128-
perms,
128+
// perms,
129129
// offset,
130130
// dev,
131131
// inode,

0 commit comments

Comments
 (0)