Skip to content
Snippets Groups Projects
Commit df6be6b1 authored by Matthew Webster's avatar Matthew Webster
Browse files

Removed legacy vars

parent cba77b09
No related branches found
No related tags found
No related merge requests found
...@@ -69,14 +69,12 @@ int fslcreatehd_main(int argc, char *argv[]) ...@@ -69,14 +69,12 @@ int fslcreatehd_main(int argc, char *argv[])
} else { } else {
/* read XML form */ /* read XML form */
char *newstr, *oldfname, *oldiname; char *newstr;
ifstream inputfile; ifstream inputfile;
vector<string> settings; vector<string> settings;
if (strcmp(argv[1],"-")==0) {fileread=0;} if (strcmp(argv[1],"-")==0) {fileread=0;}
newstr = (char *)calloc(10000,1); newstr = (char *)calloc(10000,1);
oldfname = (char *)calloc(10000,1);
oldiname = (char *)calloc(10000,1);
if (fileread) if (fileread)
{ {
inputfile.open (argv[1], ifstream::in | ifstream::binary); inputfile.open (argv[1], ifstream::in | ifstream::binary);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment