r23407 - gnucash/trunk/src/gnome - Add missing semicolon and only dump transaction when debugging.

Mike Alexander mta at code.gnucash.org
Sun Nov 17 01:32:09 EST 2013


Author: mta
Date: 2013-11-17 01:32:08 -0500 (Sun, 17 Nov 2013)
New Revision: 23407
Trac: http://svn.gnucash.org/trac/changeset/23407

Modified:
   gnucash/trunk/src/gnome/gnc-split-reg.c
Log:
Add missing semicolon and only dump transaction when debugging.

Modified: gnucash/trunk/src/gnome/gnc-split-reg.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-split-reg.c	2013-11-17 04:19:25 UTC (rev 23406)
+++ gnucash/trunk/src/gnome/gnc-split-reg.c	2013-11-17 06:32:08 UTC (rev 23407)
@@ -1166,7 +1166,8 @@
         return;
 
 #ifdef DUMP_FUNCTIONS
-   xaccTransDump (trans, "ExecAssociated")
+    if (qof_log_check (log_module, QOF_LOG_DEBUG))
+        xaccTransDump (trans, "ExecAssociated");
 #endif
 
     uri = xaccTransGetAssociation(trans);



More information about the gnucash-changes mailing list