mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 16:58:01 +02:00
Eliminate a few simple compiler warnings
This commit is contained in:
parent
65d0431b98
commit
f3d45d1790
1 changed files with 3 additions and 3 deletions
|
|
@ -1637,8 +1637,8 @@ cairo_test_expecting (cairo_test_t *test,
|
|||
/* we use volatile here to make sure values are not clobbered
|
||||
* by longjmp */
|
||||
volatile int i, j, num_targets;
|
||||
volatile limited_targets = 0;
|
||||
const char *tname;
|
||||
volatile int limited_targets = 0;
|
||||
char *tname;
|
||||
void (*old_segfault_handler)(int);
|
||||
volatile cairo_test_status_t status, ret;
|
||||
volatile cairo_test_target_t **targets_to_test;
|
||||
|
|
@ -1799,7 +1799,7 @@ cairo_test_expecting (cairo_test_t *test,
|
|||
|
||||
while (*tname) {
|
||||
int found = 0;
|
||||
const char *end = strpbrk (tname, " \t\r\n;:,");
|
||||
char *end = strpbrk (tname, " \t\r\n;:,");
|
||||
if (!end)
|
||||
end = tname + strlen (tname);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue