summaryrefslogtreecommitdiff
path: root/caffe2
diff options
context:
space:
mode:
Diffstat (limited to 'caffe2')
-rw-r--r--caffe2/utils/proto_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/caffe2/utils/proto_utils.h b/caffe2/utils/proto_utils.h
index 22ccc63590..7014b0cd11 100644
--- a/caffe2/utils/proto_utils.h
+++ b/caffe2/utils/proto_utils.h
@@ -55,6 +55,7 @@ namespace TextFormat {
inline bool ParseFromString(const string& spec, MessageLite* proto) {
LOG(FATAL) << "If you are running lite version, you should not be "
<< "calling any text-format protobuffers.";
+ return false;
}
} // namespace TextFormat