Skip to content

Commit 751eab3

Browse files
ArmaanCPropantor
andauthored
resolve MSVC warning (#321) (#322)
* move warning producing statement after default switch case to within the default case * remove redundant nullptr assignment in default switch case * Update single include --------- Co-authored-by: Berscheid <1885260+pantor@users.noreply.github.com>
1 parent bad1100 commit 751eab3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

include/inja/parser.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,6 @@ class Parser {
659659
} break;
660660
}
661661
}
662-
current_block = nullptr;
663662
}
664663

665664
public:

single_include/inja/inja.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,6 @@ class Parser {
21092109
} break;
21102110
}
21112111
}
2112-
current_block = nullptr;
21132112
}
21142113

21152114
public:

0 commit comments

Comments
 (0)