summaryrefslogtreecommitdiff
path: root/cocci.spatches/#0012-new-error.cocci#
blob: e219d44d03238e99175c7a3db83435be62980966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Clean up _cairo_error()
//
// _cairo_error() should be invoked whenever an error status would be
// set on a public object. It should be invoked only once for each
// such event and it should not be invoked upon error creation

@@
expression status;
@@
-  _cairo_error (
   status
-   )