mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Drop unused parameter
This commit is contained in:
parent
f64d217ed3
commit
0d4d92fbb4
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user