diff --git a/storage/tokudb/ha_tokudb.cc b/storage/tokudb/ha_tokudb.cc
index 0c77a3226d14c39d2de381eb17793b0be6af5828..6e5760f75074d52d47c8ab6fdaca0503f18ad8c9 100644
--- a/storage/tokudb/ha_tokudb.cc
+++ b/storage/tokudb/ha_tokudb.cc
@@ -6618,6 +6618,7 @@ row_format_to_row_type(srv_row_format_t row_format)
     case SRV_ROW_FORMAT_DEFAULT:
         return ROW_TYPE_DEFAULT;
     }
+    assert(0); return ROW_TYPE_DEFAULT;;
 }
 
 //