mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 03:18:05 +02:00
Fix -Wunused-but-set-parameter
../test/cairo-test-runner.c:730:48: warning: parameter 'str' set but not used [-Wunused-but-set-parameter] _has_required_ghostscript_version (const char *str)
This commit is contained in:
parent
c2ce4d421d
commit
c1564baf61
1 changed files with 3 additions and 0 deletions
|
|
@ -730,6 +730,7 @@ static cairo_bool_t
|
|||
_has_required_ghostscript_version (const char *str)
|
||||
{
|
||||
#if ! CAIRO_CAN_TEST_PS_SURFACE
|
||||
(void)str;
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
|
|
@ -742,6 +743,7 @@ static cairo_bool_t
|
|||
_has_required_poppler_version (const char *str)
|
||||
{
|
||||
#if ! CAIRO_CAN_TEST_PDF_SURFACE
|
||||
(void)str;
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
|
|
@ -754,6 +756,7 @@ static cairo_bool_t
|
|||
_has_required_rsvg_version (const char *str)
|
||||
{
|
||||
#if ! CAIRO_CAN_TEST_SVG_SURFACE
|
||||
(void)str;
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue