summaryrefslogtreecommitdiff
path: root/systemv
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-04-03 00:33:05 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-04-03 00:33:05 +0000
commitc8fdb00125304cb18187b1fe418753d698b53c71 (patch)
tree578074ade69845b8b51d9f862920feec08d33c57 /systemv
parentcbf9404a5a1bc5b6fa78e4e4d7f8edf5259c9f64 (diff)
Fix some clang issues.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12583 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'systemv')
-rw-r--r--systemv/cupstestppd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c
index b99208db1..e05949138 100644
--- a/systemv/cupstestppd.c
+++ b/systemv/cupstestppd.c
@@ -2377,10 +2377,9 @@ check_filters(ppd_file_t *ppd, /* I - PPD file */
if (!strncmp(program, "maxsize(", 8))
{
- size_t maxsize; /* Maximum file size */
char *mptr; /* Pointer into maxsize(nnnn) program */
- maxsize = (size_t)strtoll(program + 8, &mptr, 10);
+ strtoll(program + 8, &mptr, 10);
if (*mptr != ')')
{
@@ -2496,10 +2495,9 @@ check_filters(ppd_file_t *ppd, /* I - PPD file */
if (!strncmp(program, "maxsize(", 8))
{
- size_t maxsize; /* Maximum file size */
char *mptr; /* Pointer into maxsize(nnnn) program */
- maxsize = (size_t)strtoll(program + 8, &mptr, 10);
+ strtoll(program + 8, &mptr, 10);
if (*mptr != ')')
{