Fossil SCM
Fix uninitialized variable in the previous check-in.
Commit
38dad38b6d87e0fa08194d3e46b07a6b0da685f0d9c416d482e99cec72b06370
Parent
0cd5589c09562b5…
1 file changed
+1
-1
+1
-1
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -52,11 +52,11 @@ | ||
| 52 | 52 | unsigned syncFlags, /* Mask of SYNC_* flags */ |
| 53 | 53 | unsigned configRcvMask, /* Receive these configuration items */ |
| 54 | 54 | unsigned configSendMask, /* Send these configuration items */ |
| 55 | 55 | const char *zAltPCode /* Alternative project code (usually NULL) */ |
| 56 | 56 | ){ |
| 57 | - int nErr; /* Number of errors seen */ | |
| 57 | + int nErr = 0; /* Number of errors seen */ | |
| 58 | 58 | int nOther; /* Number of extra remote URLs */ |
| 59 | 59 | char **azOther; /* Text of extra remote URLs */ |
| 60 | 60 | int i; /* Loop counter */ |
| 61 | 61 | int iEnd; /* Loop termination point */ |
| 62 | 62 | int nextIEnd; /* Loop termination point for next pass */ |
| 63 | 63 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -52,11 +52,11 @@ | |
| 52 | unsigned syncFlags, /* Mask of SYNC_* flags */ |
| 53 | unsigned configRcvMask, /* Receive these configuration items */ |
| 54 | unsigned configSendMask, /* Send these configuration items */ |
| 55 | const char *zAltPCode /* Alternative project code (usually NULL) */ |
| 56 | ){ |
| 57 | int nErr; /* Number of errors seen */ |
| 58 | int nOther; /* Number of extra remote URLs */ |
| 59 | char **azOther; /* Text of extra remote URLs */ |
| 60 | int i; /* Loop counter */ |
| 61 | int iEnd; /* Loop termination point */ |
| 62 | int nextIEnd; /* Loop termination point for next pass */ |
| 63 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -52,11 +52,11 @@ | |
| 52 | unsigned syncFlags, /* Mask of SYNC_* flags */ |
| 53 | unsigned configRcvMask, /* Receive these configuration items */ |
| 54 | unsigned configSendMask, /* Send these configuration items */ |
| 55 | const char *zAltPCode /* Alternative project code (usually NULL) */ |
| 56 | ){ |
| 57 | int nErr = 0; /* Number of errors seen */ |
| 58 | int nOther; /* Number of extra remote URLs */ |
| 59 | char **azOther; /* Text of extra remote URLs */ |
| 60 | int i; /* Loop counter */ |
| 61 | int iEnd; /* Loop termination point */ |
| 62 | int nextIEnd; /* Loop termination point for next pass */ |
| 63 |