From feb6147467d51432ce1a21434c0574484b154d9f Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 30 May 2013 15:21:08 +0200 Subject: [PATCH] preprocessor: config file: remove redundant check --- ConfigFile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfigFile.cc b/ConfigFile.cc index 2d0e3499..c0c17857 100644 --- a/ConfigFile.cc +++ b/ConfigFile.cc @@ -517,7 +517,7 @@ ConfigFile::checkPass(WarningConsolidation &warnings) const exit(EXIT_FAILURE); } #if defined(_WIN32) || defined(__CYGWIN32__) - if (it->second->userName.empty() || it->second->password.empty()) + if (it->second->password.empty()) { cerr << "ERROR (node " << it->first << "): the Password option must be passed under Windows for every remote node." << endl; exit(EXIT_FAILURE);