initialized local_database_file and local_output_stream

git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8895 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2014-07-30 21:42:12 +00:00
parent 0236d42a7c
commit 88c8cbeeb8

View File

@ -366,7 +366,7 @@ process_file_names(int argc, char *argv[], std::istream **db_cookie,
copy_token(token, &ptr, &l);
strcpy(token, default_name);
strcat(token, ".out");
std::ofstream * local_output_stream;
std::ofstream * local_output_stream = NULL;
if (argc <= 1)
{
local_output_stream = open_output_stream(query, token, std::ios_base::out, false);
@ -444,7 +444,7 @@ process_file_names(int argc, char *argv[], std::istream **db_cookie,
strcpy(token, default_data_base);
}
std::ifstream * local_database_file;
std::ifstream * local_database_file = NULL;
if (argc <= 1)
{
local_database_file = open_input_stream(query, token, std::ios_base::in, false);