commit | d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Mon Jul 14 15:19:07 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Mon Jul 14 15:19:07 2008 +0200 |
tree | f751c45fa698dd14edd985b80ae16ad521768457 | |
parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 [diff] [blame] |
Code cleanup: fix old style assignment ambiguities like "=-" etc. Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/common/devices.c b/common/devices.c index ddf8f8e..9cc963a 100644 --- a/common/devices.c +++ b/common/devices.c
@@ -125,7 +125,7 @@ device_t *dev = NULL; char temp_names[3][8]; - dev_index=-1; + dev_index = -1; for (i=1; i<=ListNumItems(devlist); i++) { dev = ListGetPtrToItem (devlist, i); if(strcmp(dev->name,devname)==0) {