mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Initialise toclear_value in gnc_autoclear_window_ok_cb()
If "test for valid value" is false, errmsg is set which means there is then a read of "toclear_value" which has not been initialised. Initialise it to indicate an error with the value.
This commit is contained in:
parent
069eb61a3f
commit
ab6c6371ba
@ -123,7 +123,7 @@ gnc_autoclear_window_ok_cb (GtkWidget *widget,
|
||||
AutoClearWindow *data)
|
||||
{
|
||||
GList *toclear_list = NULL;
|
||||
gnc_numeric toclear_value;
|
||||
gnc_numeric toclear_value = gnc_numeric_error (GNC_ERROR_ARG);
|
||||
gchar *errmsg = NULL;
|
||||
GError* error = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user