8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:03:03 +01:00
This commit is contained in:
robocop 2015-03-13 03:03:08 +00:00
parent 272c90ab15
commit f6b0fee24e
3 changed files with 4 additions and 4 deletions

View File

@ -1062,7 +1062,7 @@ static SSHORT blob_get_segment(blb* blob, UCHAR* buffer, USHORT length, USHORT*
ex.stuff_exception(tdbb->tdbb_status_vector);
}
}
catch (const Exception& ex)
catch (const Exception&)
{} // no-op
return 0; // error

View File

@ -1386,7 +1386,7 @@ bool Mnt::get()
TEXT device[128], mount_point[128], m_type[16], opts[256], ftime[128];
const int n = fscanf(mnt_tab.mtab, "%s %s %s %s %s ", device, mount_point, type, opts, ftime);
if (n<5)
if (n < 5)
return false;
mount = mount_point;

View File

@ -5404,7 +5404,7 @@ static void verb_post(thread_db* tdbb,
// An insert/update followed by a delete is posted to this savepoint,
// and this savepoint has already undo for this record.
AutoUndoRecord undo(transaction, found ? &action->vct_undo->current() : NULL, REC_same_tx);
AutoUndoRecord undo(transaction, (found ? &action->vct_undo->current() : NULL), REC_same_tx);
if (!found)
{
@ -5434,7 +5434,7 @@ static void verb_post(thread_db* tdbb,
// so make sure we garbage collect before we lose track of the
// in-place-updated record.
AutoUndoRecord undo(transaction, found ? &action->vct_undo->current() : NULL);
AutoUndoRecord undo(transaction, (found ? &action->vct_undo->current() : NULL));
garbage_collect_idx(tdbb, rpb, /*new_rpb,*/ old_data, undo);
}