From: Igor Sysoev Date: Wed, 14 Sep 2011 15:25:46 +0000 (+0000) Subject: Fixing building by gcc-4.7. X-Git-Tag: release-1.1.4~34 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=acdac73688154e4aa618f4bb3824b40790c9d0a4;p=nginx.git Fixing building by gcc-4.7. --- diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index fc21ec410..c7319f6e1 100644 --- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -1702,7 +1702,6 @@ ngx_http_mp4_read_stsd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size) { u_char *atom_header, *atom_table; size_t atom_size; - uint32_t entries; ngx_buf_t *atom; ngx_mp4_stsd_atom_t *stsd_atom; ngx_http_mp4_trak_t *trak; @@ -1718,8 +1717,6 @@ ngx_http_mp4_read_stsd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size) ngx_mp4_set_32value(stsd_atom->size, atom_size); ngx_mp4_set_atom_name(stsd_atom, 's', 't', 's', 'd'); - entries = ngx_mp4_get_32value(stsd_atom->entries); - if ((uint64_t) (sizeof(ngx_mp4_stsd_atom_t) - sizeof(ngx_mp4_atom_header_t)) > atom_data_size) { ngx_log_error(NGX_LOG_ERR, mp4->file.log, 0,