style tweak

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10183 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas
2004-07-09 03:11:32 +00:00
parent 656e03fb96
commit 465828827a

View File

@@ -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;
}
/* ============================================================ */