mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Removed two unused variables.
This commit is contained in:
+4
-4
@@ -277,8 +277,8 @@
|
||||
BOOL inDiff=FALSE;
|
||||
BOOL inBlock=FALSE;
|
||||
|
||||
int l_int,l_line,l_end;
|
||||
int r_int,r_line,r_end;
|
||||
int l_line,l_end;
|
||||
int r_line,r_end;
|
||||
int i;
|
||||
for (i=0; i<[lines count]; i++) {
|
||||
line=[lines objectAtIndex:i];
|
||||
@@ -294,12 +294,12 @@
|
||||
NSArray *pos_l=[[pos objectAtIndex:0] componentsSeparatedByString:@","];
|
||||
NSArray *pos_r=[[pos objectAtIndex:1] componentsSeparatedByString:@","];
|
||||
|
||||
l_end=l_line=l_int=abs([[pos_l objectAtIndex:0]integerValue]);
|
||||
l_end=l_line=abs([[pos_l objectAtIndex:0]integerValue]);
|
||||
if ([pos_l count]>1) {
|
||||
l_end=l_line+[[pos_l objectAtIndex:1]integerValue];
|
||||
}
|
||||
|
||||
r_end=r_line=r_int=[[pos_r objectAtIndex:0]integerValue];
|
||||
r_end=r_line=[[pos_r objectAtIndex:0]integerValue];
|
||||
if ([pos_r count]>1) {
|
||||
r_end=r_line+[[pos_r objectAtIndex:1]integerValue];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user