test: Add missing format to any2ppm to silence gcc

This commit is contained in:
Benjamin Otte 2011-02-18 18:53:29 +01:00
parent 056250775f
commit 9dcd29bef4

View file

@ -191,6 +191,7 @@ write_ppm (cairo_surface_t *surface, int fd)
format_str = "P5";
break;
case CAIRO_FORMAT_A1:
case CAIRO_FORMAT_RGB16_565:
case CAIRO_FORMAT_INVALID:
default:
return "unhandled image format";