Fixed compiler warnings

This commit is contained in:
goldsimon 2010-04-01 12:57:45 +00:00
parent 30d352cec7
commit 62ea62ffc3
1 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ int process_file(FILE *data_file, FILE *struct_file, const char *filename)
int file_size;
u16_t http_hdr_chksum = 0;
u16_t http_hdr_len = 0;
int chksum_count;
int chksum_count = 0;
/* create qualified name (TODO: prepend slash or not?) */
sprintf(qualifiedName,"%s/%s", curSubdir, filename);
@ -454,7 +454,7 @@ int file_write_http_header(FILE *data_file, const char *filename, int file_size,
{
int i = 0;
int response_type = HTTP_HDR_OK;
int file_type;
int file_type = HTTP_HDR_DEFAULT_TYPE;
const char *cur_string;
size_t cur_len;
int written = 0;