diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 69359fcd..1d875011 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -25333,13 +25333,19 @@ function closeSTL { # main:################# function saveOrgVars { + # TODO resolve the unused warnings by dynamically assigning the variables like we do in 'restoreOrgVars' + writelog "INFO" "${FUNCNAME[0]} - Storing some original variables to restore them later" "P" env | grep "=" | sort -o "$VARSIN" + # shellcheck disable=2034 ORG_LD_PRELOAD="$LD_PRELOAD" + # shellcheck disable=2034 ORG_LD_LIBRARY_PATH="$LD_LIBRARY_PATH" + # shellcheck disable=2034 ORG_LC_ALL="$LC_ALL" + # shellcheck disable=2034 ORG_PATH="$PATH" }