Jon Parise
Committed by Ben Copsey

Removing unused 'theError' local variables.

@@ -80,8 +80,7 @@ @@ -80,8 +80,7 @@
80 zStream.next_in = bytes; 80 zStream.next_in = bytes;
81 zStream.avail_in = (unsigned int)length; 81 zStream.avail_in = (unsigned int)length;
82 zStream.avail_out = 0; 82 zStream.avail_out = 0;
83 - NSError *theError = nil; 83 +
84 -  
85 NSInteger bytesProcessedAlready = zStream.total_out; 84 NSInteger bytesProcessedAlready = zStream.total_out;
86 while (zStream.avail_in != 0) { 85 while (zStream.avail_in != 0) {
87 86
@@ -103,13 +102,6 @@ @@ -103,13 +102,6 @@
103 } 102 }
104 } 103 }
105 104
106 - if (theError) {  
107 - if (err) {  
108 - *err = theError;  
109 - }  
110 - return nil;  
111 - }  
112 -  
113 // Set real length 105 // Set real length
114 [outputData setLength: zStream.total_out-bytesProcessedAlready]; 106 [outputData setLength: zStream.total_out-bytesProcessedAlready];
115 return outputData; 107 return outputData;
@@ -77,7 +77,6 @@ @@ -77,7 +77,6 @@
77 zStream.next_in = bytes; 77 zStream.next_in = bytes;
78 zStream.avail_in = (unsigned int)length; 78 zStream.avail_in = (unsigned int)length;
79 zStream.avail_out = 0; 79 zStream.avail_out = 0;
80 - NSError *theError = nil;  
81 80
82 NSInteger bytesProcessedAlready = zStream.total_out; 81 NSInteger bytesProcessedAlready = zStream.total_out;
83 while (zStream.avail_in != 0) { 82 while (zStream.avail_in != 0) {
@@ -101,13 +100,6 @@ @@ -101,13 +100,6 @@
101 } 100 }
102 } 101 }
103 102
104 - if (theError) {  
105 - if (err) {  
106 - *err = theError;  
107 - }  
108 - return nil;  
109 - }  
110 -  
111 // Set real length 103 // Set real length
112 [outputData setLength: zStream.total_out-bytesProcessedAlready]; 104 [outputData setLength: zStream.total_out-bytesProcessedAlready];
113 return outputData; 105 return outputData;