
22 Jun
2011
22 Jun
'11
6:54 p.m.
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