Skip to content

Commit db47cb5

Browse files
committed
Dead code.
1 parent 0e324ca commit db47cb5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/rt/rust.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ rust_start(uintptr_t main_fn, rust_crate const *crate, int argc,
9595
}
9696

9797
if (log_rt_dwarf) {
98-
rust_crate_reader create_reader(dom, crate);
98+
rust_crate_reader create_reader(dom);
9999
}
100100

101101
uintptr_t main_args[4] = {0, 0, 0, (uintptr_t)args->args};

src/rt/rust_crate_reader.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ rust_crate_reader::attr::is_unknown() const {
6161
return !(is_numeric() || is_string());
6262
}
6363

64-
rust_crate_reader::rust_crate_reader(rust_dom *dom,
65-
rust_crate const *crate)
64+
rust_crate_reader::rust_crate_reader(rust_dom *dom)
6665
: dom(dom)
6766
{
6867
DLOG(dom, mem, "crate_reader on crate: 0x%" PRIxPTR, this);

src/rt/rust_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ rust_crate_reader
352352
bool is_unknown() const;
353353
};
354354

355-
rust_crate_reader(rust_dom *dom, rust_crate const *crate);
355+
rust_crate_reader(rust_dom *dom);
356356
};
357357

358358
// An alarm can be put into a wait queue and the task will be notified

0 commit comments

Comments
 (0)