Cosmetics

Change-Id: I6ad5b6c2e4f8f57db2068fe372ab4ecadf4d03a9
This commit is contained in:
Amaury Pouly 2012-05-19 18:56:48 +02:00
parent 58f8bddf88
commit 391f3ea2ae
2 changed files with 1 additions and 2 deletions

View file

@ -414,7 +414,6 @@ int sd_init(void)
static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, void *buf, bool read)
{
IF_MD((void) drive);
int ret = 0;
uint32_t resp;

View file

@ -39,7 +39,7 @@ void *memdup(const void *p, size_t len)
void generate_random_data(void *buf, size_t sz)
{
int i = 0;
size_t i = 0;
unsigned char* p = (unsigned char*)buf;
while(i++ < sz)
*p++ = rand();