[gtk+] Silence unused variable warnings in the cups printbackend
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Silence unused variable warnings in the cups printbackend
- Date: Sun, 30 Jan 2011 07:17:17 +0000 (UTC)
commit 645650ae243c6269faa3dec4df17b112d234a377
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 30 02:16:18 2011 -0500
Silence unused variable warnings in the cups printbackend
modules/printbackends/cups/gtkprintbackendcups.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index 5bb14eb..614e752 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -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)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]