Fossil SCM

Fix a harmless compiler warning.

drh 2020-11-01 20:44 trunk
Commit 2ba5ddb9d925f0955f25aa78cc2063d3e1c344ec2e6c1aa31eeadb70c9d32f3e
1 file changed -1
-1
--- src/db.c
+++ src/db.c
@@ -3499,11 +3499,10 @@
34993499
35003500
/* If REPOSITORY looks like a URI, then try to clone it first */
35013501
if( isUri ){
35023502
char *zNewBase; /* Base name of the cloned repository file */
35033503
const char *zUri; /* URI to clone */
3504
- int i; /* Loop counter */
35053504
int rc; /* Result code from fossil_system() */
35063505
Blob cmd; /* Clone command to be run */
35073506
char *zCmd; /* String version of the clone command */
35083507
35093508
zUri = zRepo;
35103509
--- src/db.c
+++ src/db.c
@@ -3499,11 +3499,10 @@
3499
3500 /* If REPOSITORY looks like a URI, then try to clone it first */
3501 if( isUri ){
3502 char *zNewBase; /* Base name of the cloned repository file */
3503 const char *zUri; /* URI to clone */
3504 int i; /* Loop counter */
3505 int rc; /* Result code from fossil_system() */
3506 Blob cmd; /* Clone command to be run */
3507 char *zCmd; /* String version of the clone command */
3508
3509 zUri = zRepo;
3510
--- src/db.c
+++ src/db.c
@@ -3499,11 +3499,10 @@
3499
3500 /* If REPOSITORY looks like a URI, then try to clone it first */
3501 if( isUri ){
3502 char *zNewBase; /* Base name of the cloned repository file */
3503 const char *zUri; /* URI to clone */
 
3504 int rc; /* Result code from fossil_system() */
3505 Blob cmd; /* Clone command to be run */
3506 char *zCmd; /* String version of the clone command */
3507
3508 zUri = zRepo;
3509

Keyboard Shortcuts

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