Skip to content

Commit

Permalink
fix: warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
krigga committed Aug 12, 2024
1 parent 55dffd9 commit 219ae45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/func/func.h
Original file line number Diff line number Diff line change
Expand Up @@ -694,11 +694,11 @@ struct CodeBlob {
enum { _AllowPostModification = 1, _ComputeAsmLtr = 2 };
int var_cnt, in_var_cnt, op_cnt;
TypeExpr* ret_type;
std::string name;
SrcLocation loc;
std::vector<TmpVar> vars;
std::unique_ptr<Op> ops;
std::unique_ptr<Op>* cur_ops;
std::string name;
std::stack<std::unique_ptr<Op>*> cur_ops_stack;
int flags = 0;
bool require_callxargs = false;
Expand Down
2 changes: 1 addition & 1 deletion crypto/func/parse-func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ void combine_parallel(val& x, const val y) {
}
} // namespace blk_fl

blk_fl::val insert_debug_info(Lexer& lex, CodeBlob& code, bool first_stmt, bool ret) {
void insert_debug_info(Lexer& lex, CodeBlob& code, bool first_stmt, bool ret) {
if (with_debug_info) {
auto& op = code.emplace_back(lex.cur().loc, Op::_DebugInfo);
op.simple_int_const = (int) debug_infos.size();
Expand Down

0 comments on commit 219ae45

Please sign in to comment.