mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
style tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10183 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -667,9 +667,11 @@ kvp_frame_set_slot_nc(KvpFrame * frame, const char * slot,
|
||||
KvpValue *
|
||||
kvp_frame_get_slot(const KvpFrame * frame, const char * slot)
|
||||
{
|
||||
KvpValue *v;
|
||||
if (!frame) return NULL;
|
||||
if (!frame->hash) return NULL; /* Error ... */
|
||||
return (KvpValue *)g_hash_table_lookup(frame->hash, slot);
|
||||
v = g_hash_table_lookup(frame->hash, slot);
|
||||
return v;
|
||||
}
|
||||
|
||||
/* ============================================================ */
|
||||
|
||||
Reference in New Issue
Block a user