diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-14 13:19:07 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-14 13:19:07 (GMT) |
commit | d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch) | |
tree | f751c45fa698dd14edd985b80ae16ad521768457 /common/hush.c | |
parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 (diff) | |
download | u-boot-fsl-qoriq-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.xz |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/hush.c')
-rw-r--r-- | common/hush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/hush.c b/common/hush.c index b43f618..75c18ce 100644 --- a/common/hush.c +++ b/common/hush.c @@ -953,7 +953,7 @@ static int b_adduint(o_string *o, unsigned int i) static int static_get(struct in_str *i) { - int ch=*i->p++; + int ch = *i->p++; if (ch=='\0') return EOF; return ch; } @@ -1104,7 +1104,7 @@ static int file_get(struct in_str *i) ch = 0; /* If there is data waiting, eat it up */ if (i->p && *i->p) { - ch=*i->p++; + ch = *i->p++; } else { /* need to double check i->file because we might be doing something * more complicated by now, like sourcing or substituting. */ @@ -1121,7 +1121,7 @@ static int file_get(struct in_str *i) i->__promptme = 0; #endif if (i->p && *i->p) { - ch=*i->p++; + ch = *i->p++; } #ifndef __U_BOOT__ } else { |