From e5f6980d99da5d94889de97be7ed425a39a2d060 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Wed, 23 Jul 2014 16:49:58 -0400 Subject: [PATCH] Fix release compile error --- utilities/spatialdb/spatial_db.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/spatialdb/spatial_db.cc b/utilities/spatialdb/spatial_db.cc index 4f75d48c9a..bf4a268fc5 100644 --- a/utilities/spatialdb/spatial_db.cc +++ b/utilities/spatialdb/spatial_db.cc @@ -59,6 +59,8 @@ bool Variant::operator==(const Variant& rhs) { default: assert(false); } + // it will never reach here, but otherwise the compiler complains + return false; } bool Variant::operator!=(const Variant& rhs) { return !(*this == rhs); }