Stefan Schuermans commited on 2019-05-01 18:18:20
Showing 4 changed files, with 7 additions and 3 deletions.
... | ... |
@@ -103,6 +103,8 @@ void AppsRun(void) // (extern) |
103 | 103 |
debug_apps_printf("data area commences at sector: %lu", vi.dataarea); |
104 | 104 |
debug_apps_printf("clusters in data area: %lu", vi.numclusters); |
105 | 105 |
debug_apps_printf("sectors per cluster: %hu", vi.secperclus); |
106 |
+ (void)sec_clus; |
|
107 |
+ (void)fstype; |
|
106 | 108 |
|
107 | 109 |
// list directory, dump file |
108 | 110 |
AppsListDump(sectorBuf, &vi); |
... | ... |
@@ -371,8 +371,8 @@ void DhcpRecv(unsigned char *pData, unsigned short Length) // (extern) |
371 | 371 |
unsigned char *opt_ptr, tag, len; |
372 | 372 |
unsigned short opt_len; |
373 | 373 |
unsigned char type; |
374 |
- unsigned char have_mask, mask[4], have_gateway, gateway[4]; |
|
375 |
- unsigned char have_time, have_server, server[4]; |
|
374 |
+ unsigned char have_mask, mask[4] = {}, have_gateway, gateway[4] = {}; |
|
375 |
+ unsigned char have_time, have_server, server[4] = {}; |
|
376 | 376 |
unsigned long time; |
377 | 377 |
|
378 | 378 |
// packet too short |