diff --git a/src/Text.hh b/src/Text.hh index bb045039..695d7ddf 100644 --- a/src/Text.hh +++ b/src/Text.hh @@ -121,6 +121,7 @@ template size_t text_strncpy_t(DestT*, size_t, const SrcT*, size_t) { static_assert(always_false::v, "unspecialized text_strncpy_t should never be called"); + return 0; } template <> @@ -153,6 +154,7 @@ template size_t text_strnzcpy_t(DestT*, size_t, const SrcT*, size_t) { static_assert(always_false::v, "unspecialized text_strnzcpy_t should never be called"); + return 0; } template <>