Skip to content

Commit

Permalink
removed unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
czgdp1807 authored and certik committed Mar 5, 2021
1 parent 46e7740 commit 3d6b520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lfortran/semantics/ast_to_asr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ class BodyVisitor : public AST::BaseVisitor<BodyVisitor>
inline int extract_kind(char* m_n) {
bool is_under_score = false;
char kind_str[2] = {'0', '0'};
int i = 1, j = 0, k = 0;
int i = 1, j = 0;
for( ; m_n[i] != '\0'; i++ ) {
is_under_score = m_n[i-1] == '_' && !is_under_score ? true : is_under_score;
if( is_under_score ) {
Expand Down

0 comments on commit 3d6b520

Please sign in to comment.