Skip to content

Commit 547c6c6

Browse files
committed
Change wrong and unused return
1 parent 5791b57 commit 547c6c6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/jrd/met.epp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ void MET_get_domain(thread_db* tdbb, MemoryPool& csbPool, const QualifiedName& n
244244
}
245245

246246

247-
MetaName MET_get_relation_field(thread_db* tdbb, MemoryPool& csbPool, const QualifiedName& relationName,
247+
void MET_get_relation_field(thread_db* tdbb, MemoryPool& csbPool, const QualifiedName& relationName,
248248
const MetaName& fieldName, dsc* desc, FieldInfo* fieldInfo)
249249
{
250250
/**************************************
@@ -321,8 +321,6 @@ MetaName MET_get_relation_field(thread_db* tdbb, MemoryPool& csbPool, const Qual
321321
fieldName.toQuotedString() <<
322322
relationName.toQuotedString());
323323
}
324-
325-
return sourceName;
326324
}
327325

328326

src/jrd/met_proto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void MET_trigger_msg(Jrd::thread_db*, Firebird::string&, const Jrd::QualifiedNa
144144
void MET_update_shadow(Jrd::thread_db*, Jrd::Shadow*, USHORT);
145145
void MET_update_transaction(Jrd::thread_db*, Jrd::jrd_tra*, const bool);
146146
void MET_get_domain(Jrd::thread_db*, MemoryPool& csbPool, const Jrd::QualifiedName&, dsc*, Jrd::FieldInfo*);
147-
Jrd::MetaName MET_get_relation_field(Jrd::thread_db*, MemoryPool& csbPool,
147+
void MET_get_relation_field(Jrd::thread_db*, MemoryPool& csbPool,
148148
const Jrd::QualifiedName&, const Jrd::MetaName&, dsc*, Jrd::FieldInfo*);
149149
void MET_update_partners(Jrd::thread_db*);
150150

0 commit comments

Comments
 (0)