mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Remove warnings.
This commit is contained in:
parent
bfe818e220
commit
a526db63a8
@ -1528,7 +1528,7 @@ void put_data(burp_rel* relation, ReadRelationReq* request)
|
||||
xdr_buffer.lstr_address = NULL;
|
||||
|
||||
RCRD_LENGTH record_length = reqMeta->m_outRecLen;
|
||||
FB_UINT64 records = 0;
|
||||
|
||||
while (true)
|
||||
{
|
||||
if (task->isStopped())
|
||||
@ -1543,8 +1543,6 @@ void put_data(burp_rel* relation, ReadRelationReq* request)
|
||||
if (!request->eof())
|
||||
break;
|
||||
|
||||
records++;
|
||||
|
||||
put(tdgbl, (UCHAR) rec_data);
|
||||
put_int32(att_data_length, record_length);
|
||||
const UCHAR* p;
|
||||
|
@ -143,7 +143,6 @@ static ULONG memory_init(thread_db*, BufferControl*, ULONG);
|
||||
static void page_validation_error(thread_db*, win*, SSHORT);
|
||||
static void purgePrecedence(BufferControl*, BufferDesc*);
|
||||
static SSHORT related(BufferDesc*, const BufferDesc*, SSHORT, const ULONG);
|
||||
static bool writeable(BufferDesc*);
|
||||
static bool is_writeable(BufferDesc*, const ULONG);
|
||||
static int write_buffer(thread_db*, BufferDesc*, const PageNumber, const bool, FbStatusVector* const,
|
||||
const bool);
|
||||
@ -4577,6 +4576,7 @@ static SSHORT related(BufferDesc* low, const BufferDesc* high, SSHORT limit, con
|
||||
}
|
||||
|
||||
|
||||
#ifdef NOT_USED_OR_REPLACED
|
||||
static inline bool writeable(BufferDesc* bdb)
|
||||
{
|
||||
/**************************************
|
||||
@ -4611,6 +4611,7 @@ static inline bool writeable(BufferDesc* bdb)
|
||||
const ULONG mark = get_prec_walk_mark(bcb);
|
||||
return is_writeable(bdb, mark);
|
||||
}
|
||||
#endif // NOT_USED_OR_REPLACED
|
||||
|
||||
|
||||
static bool is_writeable(BufferDesc* bdb, const ULONG mark)
|
||||
|
@ -179,7 +179,6 @@ Sort* SortedStream::init(thread_db* tdbb) const
|
||||
Request* const request = tdbb->getRequest();
|
||||
|
||||
m_next->open(tdbb);
|
||||
ULONG records = 0;
|
||||
|
||||
// Initialize for sort. If this is really a project operation,
|
||||
// establish a callback routine to reject duplicate records.
|
||||
@ -198,8 +197,6 @@ Sort* SortedStream::init(thread_db* tdbb) const
|
||||
|
||||
while (m_next->getRecord(tdbb))
|
||||
{
|
||||
records++;
|
||||
|
||||
// "Put" a record to sort. Actually, get the address of a place
|
||||
// to build a record.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user