]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/encode.c
The `cupsCopyDestConflicts` function now handles collection attribute
[thirdparty/cups.git] / cups / encode.c
index 55152690d438a228dacc44478766fde4995f7c9f..d18389e650fc6dbdf7e3dfac730698476025ad32 100644 (file)
@@ -668,7 +668,6 @@ cupsEncodeOptions2(
 {
   int                  i;              /* Looping var */
   char                 *val;           /* Pointer to option value */
-  ipp_tag_t            value_tag;      /* IPP value tag */
   cups_option_t                *option;        /* Current option */
   ipp_op_t             op;             /* Operation for this request */
   const ipp_op_t       *ops;           /* List of allowed operations */
@@ -727,8 +726,6 @@ cupsEncodeOptions2(
       if (match->group_tag != group_tag && match->alt_group_tag != group_tag)
         continue;
 
-      value_tag = match->value_tag;
-
       if (match->operations)
         ops = match->operations;
       else if (group_tag == IPP_TAG_JOB)
@@ -771,11 +768,6 @@ cupsEncodeOptions2(
         ops = ipp_doc_creation;
       else
         ops = ipp_set_printer;
-
-      if (!_cups_strcasecmp(option->value, "true") || !_cups_strcasecmp(option->value, "false"))
-       value_tag = IPP_TAG_BOOLEAN;
-      else
-       value_tag = IPP_TAG_NAME;
     }
 
    /*