fix warning

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4580 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldreleases/1.6
Linas Vepstas 25 years ago
parent 44d4b4c139
commit d00b4743b3

@ -244,16 +244,26 @@ gnc_cm_event_handler (GUID *entity,
changes.account_event_mask |= event_type;
break;
case GNC_ID_SPLIT:
/* split events are never generated by the engine, but might be
* generated by a backend (viz. the postgres backend.)
* Handle them just like transactions */
changes.trans_event_mask |= event_type;
break;
case GNC_ID_PRICE:
/* Price events not currently handled by CM */
/* hack alert -- FIXME - Price events not currently handled by CM */
break;
case GNC_ID_NONE:
break;
default:
PERR ("unexpected id type: %d", id_type);
default: {
char guid_str[GUID_ENCODING_LENGTH+1];
guid_to_string_buff (entity, guid_str);
PERR ("unexpected id type: %d for guid=%s", id_type, guid_str);
break;
}
}
got_events = TRUE;

Loading…
Cancel
Save