minor code cleanup
This commit is contained in:
parent
702947c540
commit
3e7f4c214d
|
@ -49,7 +49,7 @@ static void AddFilesToList(const std::string& FileList, std::vector<std::string>
|
||||||
// To keep things initially simple, if the file can't be opened, just be silent and move on.
|
// To keep things initially simple, if the file can't be opened, just be silent and move on.
|
||||||
std::istream *Files;
|
std::istream *Files;
|
||||||
std::ifstream Infile;
|
std::ifstream Infile;
|
||||||
if (FileList.compare("-") == 0) { // read from stdin
|
if (FileList == "-") { // read from stdin
|
||||||
Files = &std::cin;
|
Files = &std::cin;
|
||||||
} else {
|
} else {
|
||||||
Infile.open(FileList.c_str());
|
Infile.open(FileList.c_str());
|
||||||
|
|
Loading…
Reference in New Issue