Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Remove dead code #7104

Merged
merged 1 commit into from
Apr 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions libraries/chain/include/eosio/chain/wasm_eosio_injection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ namespace eosio { namespace chain { namespace wasm_injections {

// get the next available index that is greater than the last exported function
static void get_next_indices( Module& module, int& next_function_index, int& next_actual_index ) {
int exports = 0;
for ( auto exp : module.exports )
if ( exp.kind == IR::ObjectKind::function )
exports++;

next_function_index = module.functions.imports.size() + module.functions.defs.size() + registered_injected.size();
next_actual_index = next_injected_index++;
}
Expand Down