diff --git a/client/gui_rpc_server_ops.C b/client/gui_rpc_server_ops.C index 1c72f8a2e2..344bb1cced 100644 --- a/client/gui_rpc_server_ops.C +++ b/client/gui_rpc_server_ops.C @@ -880,7 +880,7 @@ static void read_all_projects_list_file(MIOFILE& fout) { static int set_debt(XML_PARSER& xp) { bool is_tag; char tag[256], url[256]; - double short_term_debt, long_term_debt; + double short_term_debt = 0.0, long_term_debt = 0.0; bool got_std=false, got_ltd=false; strcpy(url, ""); while (!xp.get(tag, sizeof(tag), is_tag)) {