Removed dead code

This commit is contained in:
Robert Osfield
2016-07-07 07:27:37 +01:00
parent 5ab9a1b420
commit f62a07beba

View File

@@ -331,15 +331,6 @@ int *numComponents_ret)
switch(type)
{
case 1: /* colormap, uncompressed */
{
/* FIXME: write code */
/* should never get here because simage_tga_identify returns 0 */
/* for this filetype */
/* I need example files in this format to write the code... */
tgaerror = ERR_UNSUPPORTED;
}
break;
case 2: /* RGB, uncompressed */
{
int x, y;
@@ -359,15 +350,6 @@ int *numComponents_ret)
}
}
break;
case 9: /* colormap, compressed */
{
/* FIXME: write code */
/* should never get here because simage_tga_identify returns 0 */
/* for this filetype */
/* I need example files in this format to write the code... */
tgaerror = ERR_UNSUPPORTED;
}
break;
case 10: /* RGB, compressed */
{
int size, x, y;