Drop unused parameter

This commit is contained in:
Geert Janssens 2016-10-12 12:31:33 +02:00 committed by Geert Janssens
parent f64d217ed3
commit 0d4d92fbb4
2 changed files with 0 additions and 6 deletions

View File

@ -588,11 +588,6 @@ static GncCsvTransLine* trans_properties_to_trans (prop_map_t& trans_props, gcha
trans_line->balance = double_to_gnc_numeric (0.0, xaccAccountGetCommoditySCU (account),
GNC_HOW_RND_ROUND_HALF_UP);
/* We make the line_no -1 just to mark that it hasn't been set. We
* may get rid of line_no soon anyway, so it's not particularly
* important. */
trans_line->line_no = -1;
QofBook* book = gnc_account_get_book (account);
gnc_commodity* currency = xaccAccountGetCommodity (account);
trans_line->trans = xaccMallocTransaction (book);

View File

@ -80,7 +80,6 @@ extern std::map<GncTransPropType, const char*> gnc_csv_col_type_strs;
* corrected rows into the right places. */
struct GncCsvTransLine
{
int line_no;
Transaction* trans;
gnc_numeric balance; /**< The (supposed) balance after this transaction takes place */
bool balance_set; /**< true if balance has been set from user data, false otherwise */