Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <mjcarroll@intrinsic.ai>
  • Loading branch information
mjcarroll committed Nov 8, 2023
1 parent 4280e46 commit 2ffb5f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions include/gz/utils/Environment.hh
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,17 @@ using EnvironmentStrings = std::vector<std::string>;

/// \brief Convert a vector of environment variables to a map
///
/// \param[in] _envStrings Vector collection of environment variables.
/// \param[in] _envStrings Vector collection of environment variables
/// \return Mapped collection of environment variables.
EnvironmentMap GZ_UTILS_VISIBLE envStringsToMap(const EnvironmentStrings &_envStrings);
EnvironmentMap GZ_UTILS_VISIBLE envStringsToMap(
const EnvironmentStrings &_envStrings);

/// \brief Convert a map of environment variables to a vector
///
/// \param[in] _envMap Collection of mapped environment variables.
/// \return Vector collection of environment variables.
EnvironmentStrings GZ_UTILS_VISIBLE envMapToStrings(const EnvironmentMap &_envMap);
EnvironmentStrings GZ_UTILS_VISIBLE envMapToStrings(
const EnvironmentMap &_envMap);

/// \brief Retrieve all current environment variables
///
Expand Down Expand Up @@ -125,7 +127,6 @@ bool GZ_UTILS_VISIBLE setenv(const EnvironmentMap &_vars);
/// \return A string containing all environment variables
/// NOLINTNEXTLINE - This is incorrectly parsed as a global variable
std::string GZ_UTILS_VISIBLE printenv();

} // namespace GZ_UTILS_VERSION_NAMESPACE
} // namespace utils
} // namespace gz
Expand Down
1 change: 0 additions & 1 deletion src/Environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ bool clearenv()
}
#endif
return success;

}

/////////////////////////////////////////////////
Expand Down

0 comments on commit 2ffb5f4

Please sign in to comment.