[QUESTION] Clear a local variable in hush shell

Stefan Herbrechtsmeier stefan.herbrechtsmeier-oss at weidmueller.com
Tue Mar 28 09:29:13 CEST 2023


Hi,

what is the correct way to clear a local variable in the hush shell? The
"c=" doesn't work because the commit "common: cli_hush: avoid dead code"
(aa722529635c16c52d9d609122fecc96ec8d03e4) explicitly change the
function set_local_var to return -1 if a value is missing.

Regards
   Stefan

________________________________
Kommanditgesellschaft - Sitz: Detmold - Amtsgericht Lemgo HRA 2790 -
Komplementärin: Weidmüller Interface Führungsgesellschaft mbH -
Sitz: Detmold - Amtsgericht Lemgo HRB 3924;
Geschäftsführer: Dr. Timo Berger, Volker Bibelhausen, André Sombecki;
USt-ID-Nr. DE124599660


More information about the U-Boot mailing list