summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-12 19:52:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-12 19:52:32 +0000
commit01fe142917bc491bfa377dbbd325c951cee1f0c8 (patch)
tree6f943edb8fba1ff255458ad76fb1ce4b12191392
parentDriver dump (diff)
downloadlibdbpp-01fe142917bc491bfa377dbbd325c951cee1f0c8.tar.bz2
libdbpp-01fe142917bc491bfa377dbbd325c951cee1f0c8.tar.xz
libdbpp-01fe142917bc491bfa377dbbd325c951cee1f0c8.zip
Work around tsan thinking there's no return value in patchUpdates
-rw-r--r--libdbpp/tablepatch.cpp3
1 files changed, 1 insertions, 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