Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
from_price and to_price may be uninitialized in extract_comon_prices
Fix the compilation error on gcc 10: gnucash/libgnucash/engine/gnc-pricedb.c: In function �extract_common_prices�: gnucash/libgnucash/engine/gnc-pricedb.c:2469:40: error: to_price may be used uninitialized in this function [-Werror=maybe-uninitialized] 2469 | if (from_price == NULL || to_price == NULL) | ^ gnucash/libgnucash/engine/gnc-pricedb.c:2469:20: error: �from_price� may be used uninitialized in this function [-Werror=maybe-uninitialized] 2469 | if (from_price == NULL || to_price == NULL) | ^
- Loading branch information