mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
egl: Fix GCC warning
src/backends/meta-egl.c: In function ‘set_egl_error’: src/backends/meta-egl.c:144:16: error: format not a string literal and no format arguments [-Werror=format-security] error_str); ^~~~~~~~~ https://bugzilla.gnome.org/show_bug.cgi?id=777389
This commit is contained in:
parent
f5a70aa1e2
commit
9b64e09a24
@ -139,7 +139,7 @@ set_egl_error (GError **error)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
error_str = get_egl_error_str ();
|
error_str = get_egl_error_str ();
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error_literal (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_FAILED,
|
G_IO_ERROR_FAILED,
|
||||||
error_str);
|
error_str);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user