Commit aeea61e2 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Appease Coverity - the enum values come from ASN1SCC AST, they cannot be wrong.

parent 35a2c989
Pipeline #2592 passed with stage
in 3 minutes and 1 second
......@@ -95,6 +95,7 @@ class Printer(RecursiveMapper):
lines = []
lines.append("switch(%s) {" % srcCVariable)
for d in node._members:
lines.append("// coverity[mixed_enum_type]")
lines.append("case %s:" % d[1])
lines.append(" printf(\"%s\");" % d[0])
lines.append(" break;")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment