summaryrefslogtreecommitdiff
path: root/systemv
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-08-28 15:37:22 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2014-08-28 15:37:22 +0000
commit7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93 (patch)
tree62f89468c9607219f8c1fbc49c56fe546fc8bde0 /systemv
parent3bc376ee94dd13ff43b9af675eb7381e443ea6ea (diff)
downloadcups-7d5824d6a8f0aeb47c446f61e655c3a0f5c51e93.tar.gz
Fix Linux builds without normal prerequisite libraries installed.
Also correct GCC 4.8 compiler warnings. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12124 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv')
-rw-r--r--systemv/lpstat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/systemv/lpstat.c b/systemv/lpstat.c
index f77fc5873..43e4c7a33 100644
--- a/systemv/lpstat.c
+++ b/systemv/lpstat.c
@@ -1270,7 +1270,6 @@ show_jobs(const char *dests, /* I - Destinations */
*reasons; /* Job state reasons attribute */
const char *dest, /* Pointer into job-printer-uri */
*username, /* Pointer to job-originating-user-name */
- *title, /* Pointer to job-name */
*message, /* Pointer to job-printer-state-message */
*time_at; /* time-at-xxx attribute name to use */
int rank, /* Rank in queue */
@@ -1385,7 +1384,6 @@ show_jobs(const char *dests, /* I - Destinations */
username = NULL;
dest = NULL;
jobtime = 0;
- title = "no title";
message = NULL;
reasons = NULL;
@@ -1411,9 +1409,6 @@ show_jobs(const char *dests, /* I - Destinations */
else if (!strcmp(attr->name, "job-originating-user-name") &&
attr->value_tag == IPP_TAG_NAME)
username = attr->values[0].string.text;
- else if (!strcmp(attr->name, "job-name") &&
- attr->value_tag == IPP_TAG_NAME)
- title = attr->values[0].string.text;
else if (!strcmp(attr->name, "job-state-reasons") &&
attr->value_tag == IPP_TAG_KEYWORD)
reasons = attr;