summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-12 10:41:04 +0000
committerwdenk <wdenk>2003-03-12 10:41:04 +0000
commit3bac351370ef7cbf9d2af27ba52bee1703ad677e (patch)
tree689fbd22fcde4e63a0f4909acb3ea65475099e9c /common/main.c
parent1cb8e980c41e86760fa93de63f4e4cf643bef9d9 (diff)
downloadu-boot-imx-3bac351370ef7cbf9d2af27ba52bee1703ad677e.zip
u-boot-imx-3bac351370ef7cbf9d2af27ba52bee1703ad677e.tar.gz
u-boot-imx-3bac351370ef7cbf9d2af27ba52bee1703ad677e.tar.bz2
* Patch by Josef Wagner, 12 Mar 2003:
- 16/32 MB and 50/80 MHz support with auto-detection for IP860 - ETH05 and BEDBUG support for CU824 - added support for MicroSys CPC45 - new BOOTROM/FLASH0 and DOC base for PM826 * Patch by Robert Schwebel, 12 Mar 2003: Fix the chpart command on innokom board * Name cleanup: mv include/asm-i386/ppcboot-i386.h include/asm-i386/u-boot-i386.h s/PPCBoot/U-Boot/ in some files s/pImage/uImage/ in some files * Patch by Detlev Zundel, 15 Jan 2003: Fix '' command line quoting * Patch by The LEOX team, 19 Jan 2003: - add support for the ELPT860 board - add support for Dallas ds164x RTC
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/main.c b/common/main.c
index 401efcf..9ee32a5 100644
--- a/common/main.c
+++ b/common/main.c
@@ -640,8 +640,6 @@ static void process_macros (const char *input, char *output)
case 0: /* Waiting for (unescaped) $ */
if ((c == '\'') && (prev != '\\')) {
state = 3;
- if (inputcnt)
- inputcnt--;
break;
}
if ((c == '$') && (prev != '\\')) {
@@ -694,8 +692,6 @@ static void process_macros (const char *input, char *output)
case 3: /* Waiting for ' */
if ((c == '\'') && (prev != '\\')) {
state = 0;
- if (inputcnt)
- inputcnt--;
} else {
*(output++) = c;
outputcnt--;