mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 05:48:00 +02:00
Don't try to return a value (even a void value) from a void function. Closes bug #2931.
This commit is contained in:
parent
43435b69e1
commit
745627ff1b
2 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-04-08 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-matrix.c (cairo_matrix_init_identity): Don't try to
|
||||
return a value (even a void value) from a void function. Closes
|
||||
bug #2931.
|
||||
|
||||
2005-04-07 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-wideint.h: Remove broken code for defining
|
||||
|
|
|
|||
|
|
@ -117,10 +117,10 @@ slim_hidden_def(cairo_matrix_copy);
|
|||
void
|
||||
cairo_matrix_init_identity (cairo_matrix_t *matrix)
|
||||
{
|
||||
return cairo_matrix_init (matrix,
|
||||
1, 0,
|
||||
0, 1,
|
||||
0, 0);
|
||||
cairo_matrix_init (matrix,
|
||||
1, 0,
|
||||
0, 1,
|
||||
0, 0);
|
||||
}
|
||||
slim_hidden_def(cairo_matrix_init_identity);
|
||||
DEPRECATE(cairo_matrix_set_identity, cairo_matrix_init_identity);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue