Don't need to test for NULL. (#460924)

dnow,dent,dpost always exist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16365 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2007-07-27 14:12:57 +00:00
parent c052ac4078
commit 0d45c24a03

View File

@ -256,9 +256,11 @@ xaccTransWriteLog (Transaction *trans, char flag)
"%s\t%s\t%s\t%s\t%c\t%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT "\t%" G_GINT64_FORMAT "/%" G_GINT64_FORMAT "\t%s\n",
flag,
trans_guid_str, split_guid_str, /* trans+split make up unique id */
dnow ? dnow : "",
dent ? dent : "",
dpost ? dpost : "",
/* Note that the next three strings always exist,
* so we don't need to test them. */
dnow,
dent,
dpost,
acc_guid_str,
accname ? accname : "",
trans->num ? trans->num : "",