Skip to content

Commit

Permalink
Correct outstanding compilation warnings
Browse files Browse the repository at this point in the history
Re ECFLOW-1957
  • Loading branch information
marcosbento committed Dec 11, 2024
1 parent 11de22b commit 4c0600e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/base/src/ecflow/base/HttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

static std::string make_scheme_host_port(const std::string& scheme, const std::string& host, const std::string& port) {
return scheme + "://" + host + ":" + port;
};
}

HttpClient::HttpClient(Cmd_ptr cmd_ptr,
const std::string& scheme,
Expand Down
2 changes: 1 addition & 1 deletion libs/core/src/ecflow/core/EcfPortLock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class EcfPortLock {
*/
static void try_port_unlock(int port, bool debug = false) {
std::string the_port = ecf::convert_to<std::string>(port);
std::string the_file = port_file(the_file);
std::string the_file = port_file(the_port);
fs::remove(the_file);
}

Expand Down
2 changes: 1 addition & 1 deletion libs/test/harness/LocalServerLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ void LocalServerLauncher::launch() {
int exit = system(cmd.c_str());
assert(exit == 0);

std::cout << " Local ecFlow server launched with command: '" << cmd << "'" << std::endl;
std::cout << " Local ecFlow server launched with command: '" << cmd << "'. Exit code: " << exit << std::endl;
}

0 comments on commit 4c0600e

Please sign in to comment.