[En-Nut-Discussion] Nut/OS 4.1.5 and WINARM 4.1.0
Ernst Stippl
ernst at stippl.org
Wed Apr 19 22:40:49 CEST 2006
Hi!
I tried to build Nut/OS 5.1.4 with winarm 4.1.0 and it faild during build
with
J:/ethernut-4.1.5-arm-4.1.0/nut/dev/mmcard.c: In function 'MmCardMount':
J:/ethernut-4.1.5-arm-4.1.0/nut/dev/mmcard.c:624: warning: value computed is
not used
make[1]: *** [mmcard.o] Error 1
The code around line 624
/* Parse the name for a partition number and a file system driver. */
if (*name) {
partno = atoi(name);
do {
name++;
} while (*name && *name != '/');
if (*name == '/') {
name++; //this is line 624; it was originally
: *name++;
}
}
I changed line 624 from *name++; to name++; and it compiled without the
error.
Did I do something right or wrong?
regards
Ernst
More information about the En-Nut-Discussion
mailing list