diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-06-18 21:32:55 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-06-18 21:32:55 -0400 |
commit | 1738460d8bc03a49da96b676b683e3dc403d3f76 (patch) | |
tree | d548d80ce8b13228f93d29315a71d493de4c5c1c /backend | |
parent | 997b67343f7489183db0319c9f4eac82e1472794 (diff) | |
download | cups-1738460d8bc03a49da96b676b683e3dc403d3f76.tar.gz |
Fix compiler warning.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ipp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/ipp.c b/backend/ipp.c index 8e9438d55..32eb3aaa4 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -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! */ } |