diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2017-08-28 11:57:52 +0000 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2017-08-28 11:57:52 +0000 |
| commit | fd84e971d4f4598fda8c1792bcc2375d42e82cad (patch) | |
| tree | bc712d645e864f554f554c4220c3311d02b9b03e /usr/src/cmd/lp/lib/papi/ppd.c | |
| parent | 4973a49c0046838ad10a0aae797a48bde5022e97 (diff) | |
| parent | d7c57852794a9ac50d4b6a9c4161cb10919658aa (diff) | |
| download | illumos-joyent-fd84e971d4f4598fda8c1792bcc2375d42e82cad.tar.gz | |
[illumos-gate merge]
commit d7c57852794a9ac50d4b6a9c4161cb10919658aa
8485 Remove set but unused variables in usr/src/cmd
Diffstat (limited to 'usr/src/cmd/lp/lib/papi/ppd.c')
| -rw-r--r-- | usr/src/cmd/lp/lib/papi/ppd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/lp/lib/papi/ppd.c b/usr/src/cmd/lp/lib/papi/ppd.c index 5facf902be..57d42c8841 100644 --- a/usr/src/cmd/lp/lib/papi/ppd.c +++ b/usr/src/cmd/lp/lib/papi/ppd.c @@ -19,12 +19,11 @@ * CDDL HEADER END */ /* + * Copyright 2017 Gary Mills * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * This file contains an extremely rudimentary implementation of PPD file * parsing support. The parsing done here converts the contents of a PPD @@ -90,7 +89,6 @@ PPDFileToAttributesList(papi_attribute_t ***attributes, char *filename) char capability[256]; char def[256]; char supported[256]; - char *current_group_name = NULL; int ui = 0; @@ -120,7 +118,6 @@ PPDFileToAttributesList(papi_attribute_t ***attributes, char *filename) if (strcasecmp(key, "OpenGroup") == 0) { if (value == NULL) value = "unknown"; - current_group_name = strdup(value); } else if (strcasecmp(key, "OpenUI") == 0) { if ((strcasecmp(value, "PageSize") == 0) || (strcasecmp(value, "InputSlot") == 0)) |
