File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -277,8 +277,8 @@ + (NSString *)parseDiff:(NSString *)txt
277
277
BOOL inDiff=FALSE ;
278
278
BOOL inBlock=FALSE ;
279
279
280
- int l_int, l_line,l_end;
281
- int r_int, r_line,r_end;
280
+ int l_line,l_end;
281
+ int r_line,r_end;
282
282
int i;
283
283
for (i=0 ; i<[lines count ]; i++) {
284
284
line=[lines objectAtIndex: i];
@@ -294,12 +294,12 @@ + (NSString *)parseDiff:(NSString *)txt
294
294
NSArray *pos_l=[[pos objectAtIndex: 0 ] componentsSeparatedByString: @" ," ];
295
295
NSArray *pos_r=[[pos objectAtIndex: 1 ] componentsSeparatedByString: @" ," ];
296
296
297
- l_end=l_line=l_int= abs ([[pos_l objectAtIndex: 0 ]integerValue]);
297
+ l_end=l_line=abs ([[pos_l objectAtIndex: 0 ]integerValue]);
298
298
if ([pos_l count ]>1 ) {
299
299
l_end=l_line+[[pos_l objectAtIndex: 1 ]integerValue];
300
300
}
301
301
302
- r_end=r_line=r_int= [[pos_r objectAtIndex: 0 ]integerValue];
302
+ r_end=r_line=[[pos_r objectAtIndex: 0 ]integerValue];
303
303
if ([pos_r count ]>1 ) {
304
304
r_end=r_line+[[pos_r objectAtIndex: 1 ]integerValue];
305
305
}
You can’t perform that action at this time.
0 commit comments