Silence unused variable warnings in the cups printbackend

This commit is contained in:
Matthias Clasen 2011-01-30 02:16:18 -05:00
parent 2ba878ca1b
commit 645650ae24

View File

@ -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)));