Skip to content
Permalink
Browse files

update astyle to 3.1

  • Loading branch information
3nids committed Jan 23, 2018
1 parent f2273c6 commit 834a945c5fae20ce7bd5df83e9efdf619f6c557c

Large diffs are not rendered by default.

@@ -1,5 +1,5 @@
// ASEnhancer.cpp
// Copyright (c) 2017 by Jim Pattee <jimp03@email.com>.
// Copyright (c) 2018 by Jim Pattee <jimp03@email.com>.
// This code is licensed under the MIT License.
// License.md describes the conditions under which this software may be distributed.

@@ -679,7 +679,6 @@ size_t ASEnhancer::processSwitchBlock(string& line, size_t index)
if (line[i] == '}')
{
sw.switchBraceCount--;
assert(sw.switchBraceCount <= braceCount);
if (sw.switchBraceCount == 0) // if end of switch statement
{
int lineUnindent = sw.unindentDepth;

0 comments on commit 834a945

Please sign in to comment.
You can’t perform that action at this time.