diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-17 16:11:48 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-03-17 16:11:48 +0000 |
| commit | 6fc2b568477386d8c7031e7e421750cf1444da2e (patch) | |
| tree | 815fcc2125a0876fa493d4d252a11f59ee69f33a /applications/codec/convert.c | |
| parent | 773bd891308d37fbcdaf264ed10de0e2a35fec66 (diff) | |
[1.5] Remove another set of simple warnings
Diffstat (limited to 'applications/codec/convert.c')
| -rw-r--r-- | applications/codec/convert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/codec/convert.c b/applications/codec/convert.c index d999bca7..b964c42d 100644 --- a/applications/codec/convert.c +++ b/applications/codec/convert.c @@ -126,14 +126,18 @@ static int tga_readheader(FILE *fp, unsigned int *bits_per_pixel, } id_len = (unsigned char)tga[0]; cmap_type = (unsigned char)tga[1]; + (void)cmap_type; image_type = (unsigned char)tga[2]; cmap_index = get_ushort(*(unsigned short*)(&tga[3])); + (void)cmap_index; cmap_len = get_ushort(*(unsigned short*)(&tga[5])); cmap_entry_size = (unsigned char)tga[7]; x_origin = get_ushort(*(unsigned short*)(&tga[8])); + (void)x_origin; y_origin = get_ushort(*(unsigned short*)(&tga[10])); + (void)y_origin; image_w = get_ushort(*(unsigned short*)(&tga[12])); image_h = get_ushort(*(unsigned short*)(&tga[14])); pixel_depth = (unsigned char)tga[16]; |
