Remove unused variables
Remove unused variable
Don't call cfPS from SummarizeTransaction.

It either
 - Puts line "(null)" into a log
 - Segfaults
 - Causes stack overflow

(Redmine #2317)