summaryrefslogtreecommitdiff
path: root/systemv/cupstestppd.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-03-23 17:28:46 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-03-23 17:28:46 +0000
commitf8f7636ed6c5538d9f264f55ae43a9a53aa10aad (patch)
treef2981dbb682574d95e53a2bb3fe3bd3ca35775e5 /systemv/cupstestppd.c
parentc4496252d6df96c41b3e632f678e9a6081ce341e (diff)
Eliminate Clang warnings.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12559 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv/cupstestppd.c')
-rw-r--r--systemv/cupstestppd.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c
index 23982829f..b99208db1 100644
--- a/systemv/cupstestppd.c
+++ b/systemv/cupstestppd.c
@@ -2378,11 +2378,11 @@ check_filters(ppd_file_t *ppd, /* I - PPD file */
if (!strncmp(program, "maxsize(", 8))
{
size_t maxsize; /* Maximum file size */
- char *ptr; /* Pointer into maxsize(nnnn) program */
+ char *mptr; /* Pointer into maxsize(nnnn) program */
- maxsize = (size_t)strtoll(program + 8, &ptr, 10);
+ maxsize = (size_t)strtoll(program + 8, &mptr, 10);
- if (*ptr != ')')
+ if (*mptr != ')')
{
if (!warn && !errors && !verbose)
_cupsLangPuts(stdout, _(" FAIL"));
@@ -2398,11 +2398,11 @@ check_filters(ppd_file_t *ppd, /* I - PPD file */
continue;
}
- ptr ++;
- while (_cups_isspace(*ptr))
- ptr ++;
+ mptr ++;
+ while (_cups_isspace(*mptr))
+ mptr ++;
- _cups_strcpy(program, ptr);
+ _cups_strcpy(program, mptr);
}
if (strcmp(program, "-"))
@@ -2497,11 +2497,11 @@ check_filters(ppd_file_t *ppd, /* I - PPD file */
if (!strncmp(program, "maxsize(", 8))
{
size_t maxsize; /* Maximum file size */
- char *ptr; /* Pointer into maxsize(nnnn) program */
+ char *mptr; /* Pointer into maxsize(nnnn) program */
- maxsize = (size_t)strtoll(program + 8, &ptr, 10);
+ maxsize = (size_t)strtoll(program + 8, &mptr, 10);
- if (*ptr != ')')
+ if (*mptr != ')')
{
if (!warn && !errors && !verbose)
_cupsLangPuts(stdout, _(" FAIL"));
@@ -2517,11 +2517,11 @@ check_filters(ppd_file_t *ppd, /* I - PPD file */
continue;
}
- ptr ++;
- while (_cups_isspace(*ptr))
- ptr ++;
+ mptr ++;
+ while (_cups_isspace(*mptr))
+ mptr ++;
- _cups_strcpy(program, ptr);
+ _cups_strcpy(program, mptr);
}
if (strcmp(program, "-"))