Fix "enumeration values not handled in switch" warning (#323)
authorDmitry Mozolev/AI Tools Lab /SRR/Engineer/삼성전자 <d.mozolev@samsung.com>
Fri, 8 Jun 2018 12:23:48 +0000 (15:23 +0300)
committerSergey Vostokov/AI Tools Lab /SRR/Staff Engineer/삼성전자 <s.vostokov@samsung.com>
Fri, 8 Jun 2018 12:23:48 +0000 (15:23 +0300)
This commit fixes the warning that appears if not all enum values are
handled in a switch.

Signed-off-by: Dmitry Mozolev <d.mozolev@samsung.com>
contrib/nnc/libs/frontend/tflite/src/tflite_dump_visitor.cpp

index a0f4b93..15da803 100644 (file)
@@ -77,6 +77,8 @@ void DumpVisitor::visit(const Operator *op)
     cout << "  [New shape]: " << opts->new_shape() << endl;
     break;
   }
+  default:
+    break;
   }
 }