[klibc] dash: shell: Fix clang warnings

A couple of warnings from clang about old-style field designators and a
logical "not" used in an unconventional way and needs parentheses.

-----------------------------------------------------------------------
usr/dash/eval.c:106:2: warning: use of GNU old-style field designator extension [-Wgnu-designator]
        name: nullstr,
        ^~~~~
        .name =
usr/dash/eval.c:107:2: warning: use of GNU old-style field designator extension [-Wgnu-designator]
        builtin: bltincmd
        ^~~~~~~~
        .builtin =
usr/dash/eval.c:277:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
                if (!exitstatus == isor)
                    ^           ~~
usr/dash/eval.c:277:7: note: add parentheses after the '!' to evaluate the comparison first
                if (!exitstatus == isor)
                    ^
                     (                 )
usr/dash/eval.c:277:7: note: add parentheses around left hand side expression to silence this warning
                if (!exitstatus == isor)
                    ^
                    (          )
-----------------------------------------------------------------------

Signed-off-by: Bill Wendling <morbo@google.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
1 file changed