From 01fe142917bc491bfa377dbbd325c951cee1f0c8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 12 Dec 2020 19:52:32 +0000 Subject: Work around tsan thinking there's no return value in patchUpdates --- libdbpp/tablepatch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libdbpp/tablepatch.cpp b/libdbpp/tablepatch.cpp index e7e9fb3..28f8350 100644 --- a/libdbpp/tablepatch.cpp +++ b/libdbpp/tablepatch.cpp @@ -295,9 +295,8 @@ DB::Connection::patchUpdates(TablePatch * tp) } return upd->execute(true); } - default: - return 0; } + return 0; } static void -- cgit v1.2.3