From 0368f4939d60bdd1908ab2750c1be64e319ae13d Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Fri, 29 Jan 2021 18:18:01 +0200 Subject: [PATCH] [#899] fixed CI warnings --- src/lib/util/process_spawn.h | 2 +- src/lib/util/tests/process_spawn_app.sh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/process_spawn.h b/src/lib/util/process_spawn.h index c4e931047d..99bbe4efb6 100644 --- a/src/lib/util/process_spawn.h +++ b/src/lib/util/process_spawn.h @@ -75,7 +75,7 @@ public: /// @param vars Environment variables for the program to be executed. ProcessSpawn(const std::string& executable, const ProcessArgs& args = ProcessArgs(), - const ProcessEnvVars& = ProcessEnvVars()); + const ProcessEnvVars& vars = ProcessEnvVars()); /// @brief Destructor. ~ProcessSpawn(); diff --git a/src/lib/util/tests/process_spawn_app.sh.in b/src/lib/util/tests/process_spawn_app.sh.in index 806e7bd702..7c4877c4e3 100644 --- a/src/lib/util/tests/process_spawn_app.sh.in +++ b/src/lib/util/tests/process_spawn_app.sh.in @@ -50,7 +50,7 @@ do VAR_NAME=${1} shift VAR_VALUE=${1} - EXPECTED=$(env | grep ${VAR_NAME}) + EXPECTED=$(env | grep "${VAR_NAME}") if ! test "${VAR_NAME}=${VAR_VALUE}" = "${EXPECTED}"; then exit 123 fi