2ff20f8600
Resolves: RHEL-60343
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
diff -up cups-2.3.3op2/cups/ppd-cache.c.fix-warn cups-2.3.3op2/cups/ppd-cache.c
|
|
--- cups-2.3.3op2/cups/ppd-cache.c.fix-warn 2024-09-30 17:30:39.098043436 +0200
|
|
+++ cups-2.3.3op2/cups/ppd-cache.c 2024-09-30 17:31:30.738393111 +0200
|
|
@@ -3051,8 +3051,7 @@ _ppdCreateFromIPP(char *buffer, /* I -
|
|
int resolutions[1000];
|
|
/* Array of resolution indices */
|
|
char msgid[256]; /* Message identifier (attr.value) */
|
|
- const char *keyword, /* Keyword value */
|
|
- *msgstr; /* Localized string */
|
|
+ const char *keyword; /* Keyword value */
|
|
cups_lang_t *lang = cupsLangDefault();
|
|
/* Localization info */
|
|
cups_array_t *strings = NULL;/* Printer strings file */
|
|
@@ -4661,9 +4660,8 @@ _ppdCreateFromIPP(char *buffer, /* I -
|
|
{
|
|
ipp_t *preset = ippGetCollection(attr, i);
|
|
/* Preset collection */
|
|
- const char *preset_name = ippGetString(ippFindAttribute(preset, "preset-name", IPP_TAG_ZERO), 0, NULL),
|
|
+ const char *preset_name = ippGetString(ippFindAttribute(preset, "preset-name", IPP_TAG_ZERO), 0, NULL);
|
|
/* Preset name */
|
|
- *localized_name; /* Localized preset name */
|
|
ipp_attribute_t *member; /* Member attribute in preset */
|
|
const char *member_name; /* Member attribute name */
|
|
char member_value[256]; /* Member attribute value */
|