Commit e9b4c104 authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

fix centos compile warning (#1866)

parent bcf608e1
......@@ -172,6 +172,8 @@ bool runtime::interpreter::INTBackend::call(shared_ptr<Function> function,
// get op type
element::Type type;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch-enum"
switch (type_id)
{
case OP_TYPEID::Convert:
......@@ -190,6 +192,7 @@ bool runtime::interpreter::INTBackend::call(shared_ptr<Function> function,
break;
default: type = op->get_outputs().at(0).get_element_type(); break;
}
#pragma GCC diagnostic pop
if (instance.m_performance_counters_enabled)
{
......
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