aboutsummaryrefslogtreecommitdiff
path: root/FmqType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FmqType.cpp')
-rw-r--r--FmqType.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/FmqType.cpp b/FmqType.cpp
index be4950ee..f5eaaa68 100644
--- a/FmqType.cpp
+++ b/FmqType.cpp
@@ -168,9 +168,9 @@ std::string FmqType::getVtsType() const {
return "TYPE_FMQ_SYNC";
} else if (mName == "MQDescriptorUnsync") {
return "TYPE_FMQ_UNSYNC";
- } else {
- LOG(ERROR) << "Invalid fmq type name.\n";
}
+
+ CHECK(false) << "Invalid FmqType.";
return "";
}