From d7999aba5acfdc8b088ad76eb2ad98c12846117a Mon Sep 17 00:00:00 2001 From: Yuval Lifshitz Date: Sun, 5 Nov 2023 16:52:30 +0200 Subject: rgw: adding y2k38 annotations to supress coverity issues the supression comments must be directly above the line where the issue is. this is a followup on these commits: edfb5b9049ee897779863d780bfbaa130a7fbc40 aca2668c88a048ab556c53411dcf2ccd43099d50 Signed-off-by: Yuval Lifshitz --- src/test/cls_lock/test_cls_lock.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/cls_lock') diff --git a/src/test/cls_lock/test_cls_lock.cc b/src/test/cls_lock/test_cls_lock.cc index b915de9c236..ef543ce8647 100644 --- a/src/test/cls_lock/test_cls_lock.cc +++ b/src/test/cls_lock/test_cls_lock.cc @@ -298,6 +298,7 @@ TEST(ClsLock, TestLockDuration) { ASSERT_EQ(-EEXIST, r); } + // coverity[store_truncates_time_t:SUPPRESS] sleep(dur.sec()); ASSERT_EQ(0, l.lock_exclusive(&ioctx, oid)); -- cgit v1.2.3