mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
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:
parent
0236d42a7c
commit
88c8cbeeb8
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user