diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-09-23 21:02:31 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-09-23 21:35:59 +0100 |
commit | dc23ecb6198f1e28b6096cbef931e15407cc20a8 (patch) | |
tree | 6f7901bac3d4160fdf299b444672621ae2774f8b /boilerplate | |
parent | 4f7c5a5033f41de94a7ea284a64f4afa0900fff1 (diff) |
[cairo-boilerplate] Do not throw an error if an exclude target is not found.
If we fail to exclude a target because it was not in the list of
targets - job done and no need to throw a tantrum.
Diffstat (limited to 'boilerplate')
-rw-r--r-- | boilerplate/cairo-boilerplate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c index 34846d2f..4d7c7e98 100644 --- a/boilerplate/cairo-boilerplate.c +++ b/boilerplate/cairo-boilerplate.c @@ -417,11 +417,6 @@ cairo_boilerplate_get_targets (int *pnum_targets, cairo_bool_t *plimited_targets } num_targets = j; - if (!found) { - fprintf (stderr, "Cannot find target '%.*s'\n", (int)(end - tname), tname); - exit(-1); - } - if (*end) end++; tname = end; |