mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
Silence unused variable warnings in the cups printbackend
This commit is contained in:
parent
2ba878ca1b
commit
645650ae24
@ -2235,7 +2235,6 @@ cups_request_ppd_cb (GtkPrintBackendCups *print_backend,
|
||||
GtkCupsResult *result,
|
||||
GetPPDData *data)
|
||||
{
|
||||
ipp_t *response;
|
||||
GtkPrinter *printer;
|
||||
|
||||
GDK_THREADS_ENTER ();
|
||||
@ -2264,8 +2263,6 @@ cups_request_ppd_cb (GtkPrintBackendCups *print_backend,
|
||||
goto done;
|
||||
}
|
||||
|
||||
response = gtk_cups_result_get_response (result);
|
||||
|
||||
/* let ppdOpenFd take over the ownership of the open file */
|
||||
g_io_channel_seek_position (data->ppd_io, 0, G_SEEK_SET, NULL);
|
||||
data->printer->ppd_file = ppdOpenFd (dup (g_io_channel_unix_get_fd (data->ppd_io)));
|
||||
|
Loading…
Reference in New Issue
Block a user