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

"Bryce W. Harrington" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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 <[email protected]>
---
 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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.