www/websh: newer compiler-versions find new warnings
Remove the variables, where lack of actual use was too hidden for
the earlier compilers.
Also change one remaining K&R style function to comply with clang-15+
requirement, however bogus it seems to be.