]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix compiler warning.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 19 Jun 2018 01:32:55 +0000 (21:32 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 19 Jun 2018 01:32:55 +0000 (21:32 -0400)
backend/ipp.c

index 8e9438d55c1fad54df513ed51dd6ef0fa342a9e6..32eb3aaa4bc311e3d6d7998983428455d9589258 100644 (file)
@@ -1137,10 +1137,10 @@ main(int  argc,                         /* I - Number of command-line args */
 
     if ((cups_version = ippFindAttribute(supported, "cups-version", IPP_TAG_TEXT)) != NULL)
     {
-      const char *version = ippGetString(cups_version, 0, NULL);
+      const char *val = ippGetString(cups_version, 0, NULL);
 
-      fprintf(stderr, "DEBUG: cups-version = \"%s\"\n", version);
-      if (!strcmp(version, "cups-version"))
+      fprintf(stderr, "DEBUG: cups-version = \"%s\"\n", val);
+      if (!strcmp(val, "cups-version"))
         cups_version = NULL;           /* Bogus cups-version value returned by buggy printers! */
     }