Skip to content

Commit

Permalink
[commodity-utilities] deprecate gnc:exchange-by-pricedb-helper
Browse files Browse the repository at this point in the history
this function is unused.
  • Loading branch information
christopherlam committed Mar 11, 2019
1 parent e107d86 commit d6f4831
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnucash/report/report-system/commodity-utilities.scm
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ construct with gnc:make-gnc-monetary and gnc:monetary->string instead.")
;; 'price'. Returns a <gnc:monetary>.
(define (gnc:exchange-by-pricedb-helper
foreign domestic price)
(issue-deprecation-warning
"gnc:exchange-by-pricedb-helper is deprecated.")
(and (gnc:gnc-monetary? foreign)
(gnc:make-gnc-monetary
domestic
Expand Down

0 comments on commit d6f4831

Please sign in to comment.