Fossil SCM

Fix (older) MSVC compile

jan.nijtmans 2017-03-22 14:52 trunk
Commit 80c94b768982a017804c2b137f5c83947bb6f1022ed5849c1e3b40b197884c2f
1 file changed +3 -2
+3 -2
--- src/import.c
+++ src/import.c
@@ -1377,15 +1377,16 @@
13771377
int branchType;
13781378
int branchId = svn_parse_path(zTemp, &zFile, &branchType);
13791379
char *zAction = svn_find_header(rec, "Node-action");
13801380
char *zKind = svn_find_header(rec, "Node-kind");
13811381
char *zPerm = svn_find_prop(rec, "svn:executable") ? "x" : 0;
1382
+ int deltaFlag = 0;
1383
+ int srcRev = 0;
1384
+
13821385
if ( zPerm==0 ){
13831386
zPerm = svn_find_prop(rec, "svn:special") ? "l" : 0;
13841387
}
1385
- int deltaFlag = 0;
1386
- int srcRev = 0;
13871388
if( branchId==0 ){
13881389
svn_free_rec(&rec);
13891390
continue;
13901391
}
13911392
if( (zTemp = svn_find_header(rec, "Text-delta")) ){
13921393
--- src/import.c
+++ src/import.c
@@ -1377,15 +1377,16 @@
1377 int branchType;
1378 int branchId = svn_parse_path(zTemp, &zFile, &branchType);
1379 char *zAction = svn_find_header(rec, "Node-action");
1380 char *zKind = svn_find_header(rec, "Node-kind");
1381 char *zPerm = svn_find_prop(rec, "svn:executable") ? "x" : 0;
 
 
 
1382 if ( zPerm==0 ){
1383 zPerm = svn_find_prop(rec, "svn:special") ? "l" : 0;
1384 }
1385 int deltaFlag = 0;
1386 int srcRev = 0;
1387 if( branchId==0 ){
1388 svn_free_rec(&rec);
1389 continue;
1390 }
1391 if( (zTemp = svn_find_header(rec, "Text-delta")) ){
1392
--- src/import.c
+++ src/import.c
@@ -1377,15 +1377,16 @@
1377 int branchType;
1378 int branchId = svn_parse_path(zTemp, &zFile, &branchType);
1379 char *zAction = svn_find_header(rec, "Node-action");
1380 char *zKind = svn_find_header(rec, "Node-kind");
1381 char *zPerm = svn_find_prop(rec, "svn:executable") ? "x" : 0;
1382 int deltaFlag = 0;
1383 int srcRev = 0;
1384
1385 if ( zPerm==0 ){
1386 zPerm = svn_find_prop(rec, "svn:special") ? "l" : 0;
1387 }
 
 
1388 if( branchId==0 ){
1389 svn_free_rec(&rec);
1390 continue;
1391 }
1392 if( (zTemp = svn_find_header(rec, "Text-delta")) ){
1393

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button