commit | 5825e5c1b1c82d1563cac8a992d4c5d8f81db422 | [log] [tgz] |
---|---|---|
author | Ted Pudlik <tpudlik@google.com> | Tue Dec 14 19:53:41 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 15 02:13:45 2021 +0000 |
tree | 9ed04835eaebba6079b3b47b64bc9d797c7b4207 | |
parent | 50262fef24edb1f08bae69db8787d396b5da0d9f [diff] |
pw_env_setup: Remove unnecessary unset calls The _pw_cleanup variable is never set in the first place (the deleted line was the only place it appeared in Pigweed code). The _pw_alias_check can be made local. Removing these spurious unsets will avoid warnings being printed when running bootstrap from zsh. Tested by running `source bootstrap.sh` from zsh. Without this change, it prints the warnings; with this change, it does not. Fixed: 581 Change-Id: I08d3b3257f3a9a2cd99f2b53f62866876d3b2313 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/74182 Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/