On Monday, June 20, 2011 10:10:15 Lei Wen wrote: > + enum mmc_state state; > + if (strcmp(argv[1], "read") == 0) > + state = MMC_READ; > + else if (strcmp(argv[1], "write") == 0) > + state = MMC_WRITE; > + else > + state = MMC_INVALID;
i think wolfgang hates inline var decls (c99), so that "state" will have to be moved up. also, there should be a newline after this if block. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot