Skip to content

Commit 826b0ee

Browse files
committed
[LINT] error 788
Enum constant 'Symbol' not used within defaulted switch. Signed-off-by: Jocelyn Legault <[email protected]>
1 parent c8edecb commit 826b0ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PythonScript/src/ConsoleDialog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,8 @@ bool ConsoleDialog::parsePythonErrorLine(LineDetails *lineDetails)
962962
idx_t pos = 0;
963963
while(styleState != SS_EXIT)
964964
{
965+
//lint -e{788} enum constant 'StyleState::SS_EXIT' not used within defaulted switch
966+
// That's normal since SS_EXIT is strictly used to exit the loop.
965967
switch(styleState)
966968
{
967969
case SS_BEGIN:

0 commit comments

Comments
 (0)