8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Minor static analysis fixes (#8195)

Co-authored-by: MaratIskakov <maratiskakov@10.0.2.15>
This commit is contained in:
Marat Iskakov R. 2024-07-26 07:16:11 +05:00 committed by Dmitry Yemanov
parent b1e4e5cb78
commit fda662e273
5 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ public:
: mutex(nullptr), status(nullptr), uSvc(nullptr)
{ }
StatusAccessor(StatusAccessor&& sa)
StatusAccessor(StatusAccessor&& sa) noexcept
: mutex(sa.mutex), status(sa.status), uSvc(sa.uSvc)
{
sa.mutex = nullptr;

View File

@ -125,7 +125,7 @@ public:
return *this;
}
AutoPtr& operator=(AutoPtr&& r)
AutoPtr& operator=(AutoPtr&& r) noexcept
{
if (this != &r)
{

View File

@ -406,7 +406,7 @@ namespace Firebird {
return !(*this == s);
}
iterator& operator= (iterator& i)
iterator& operator= (const iterator& i)
{
stk = i.stk;
elem = i.elem;

View File

@ -1010,7 +1010,7 @@ namespace Jrd
}
private:
const void getFrameValue(thread_db* tdbb, Request* request,
void getFrameValue(thread_db* tdbb, Request* request,
const Frame* frame, impure_value_ex* impureValue) const;
SINT64 locateFrameRange(thread_db* tdbb, Request* request, Impure* impure,

View File

@ -938,7 +938,7 @@ void WindowedStream::WindowStream::nullRecords(thread_db* tdbb) const
m_next->nullRecords(tdbb);
}
const void WindowedStream::WindowStream::getFrameValue(thread_db* tdbb, Request* request,
void WindowedStream::WindowStream::getFrameValue(thread_db* tdbb, Request* request,
const Frame* frame, impure_value_ex* impureValue) const
{
dsc* desc = EVL_expr(tdbb, request, frame->value);