[cairo] [PATCH 4/6] cairo-trace: Stringify CAIRO_STATUS_JBIG2_GLOBAL_MISSING

Bryce W. Harrington b.harrington at samsung.com
Wed Jan 29 18:14:14 PST 2014


This error enum was added last September when JBIG2 support was added.
Support it as well in the tracing code.  This fixes this warning:

trace.c:1544:5: warning: enumeration value
‘CAIRO_STATUS_JBIG2_GLOBAL_MISSING’ not handled in switch [-Wswitch]

Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 util/cairo-trace/trace.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 0188d77..ebfc81a 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -1580,6 +1580,7 @@ _status_to_string (cairo_status_t status)
 	f(DEVICE_ERROR);
 	f(INVALID_MESH_CONSTRUCTION);
 	f(DEVICE_FINISHED);
+	f(JBIG2_GLOBAL_MISSING);
     case CAIRO_STATUS_LAST_STATUS:
 	break;
     }
-- 
1.7.9.5


More information about the cairo mailing list