From 3e7f4c214d2d5a3f6ea315aee00421a9cd8f72ad Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Sun, 13 Aug 2017 13:27:32 +0200 Subject: [PATCH] minor code cleanup --- cli/cmdlineparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index c74f22b73..8f4650a78 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -49,7 +49,7 @@ static void AddFilesToList(const std::string& FileList, std::vector // To keep things initially simple, if the file can't be opened, just be silent and move on. std::istream *Files; std::ifstream Infile; - if (FileList.compare("-") == 0) { // read from stdin + if (FileList == "-") { // read from stdin Files = &std::cin; } else { Infile.open(FileList.c_str());