Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jon Parise
2011-03-20 22:25:28 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
Ben Copsey
2011-04-11 10:29:56 +0100
Commit
4d909a63a0ce6a1c3cde8526159ed7f91b6568ee
4d909a63
1 parent
6b288e4c
Removing unused 'theError' local variables.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
Classes/ASIDataCompressor.m
Classes/ASIDataDecompressor.m
Classes/ASIDataCompressor.m
View file @
4d909a6
...
...
@@ -80,7 +80,6 @@
zStream
.
next_in
=
bytes
;
zStream
.
avail_in
=
(
unsigned
int
)
length
;
zStream
.
avail_out
=
0
;
NSError
*
theError
=
nil
;
NSInteger
bytesProcessedAlready
=
zStream
.
total_out
;
while
(
zStream
.
avail_in
!=
0
)
{
...
...
@@ -103,13 +102,6 @@
}
}
if
(
theError
)
{
if
(
err
)
{
*
err
=
theError
;
}
return
nil
;
}
// Set real length
[
outputData
setLength
:
zStream
.
total_out
-
bytesProcessedAlready
];
return
outputData
;
...
...
Classes/ASIDataDecompressor.m
View file @
4d909a6
...
...
@@ -77,7 +77,6 @@
zStream
.
next_in
=
bytes
;
zStream
.
avail_in
=
(
unsigned
int
)
length
;
zStream
.
avail_out
=
0
;
NSError
*
theError
=
nil
;
NSInteger
bytesProcessedAlready
=
zStream
.
total_out
;
while
(
zStream
.
avail_in
!=
0
)
{
...
...
@@ -101,13 +100,6 @@
}
}
if
(
theError
)
{
if
(
err
)
{
*
err
=
theError
;
}
return
nil
;
}
// Set real length
[
outputData
setLength
:
zStream
.
total_out
-
bytesProcessedAlready
];
return
outputData
;
...
...
Please
register
or
login
to post a comment