| | @@ -28,11 +28,10 @@ |
| 28 | 28 | ** |
| 29 | 29 | ** Return the number of errors. |
| 30 | 30 | */ |
| 31 | 31 | int autosync(int flags){ |
| 32 | 32 | const char *zAutosync; |
| 33 | | - const char *zPw; |
| 34 | 33 | int rc; |
| 35 | 34 | int configSync = 0; /* configuration changes transferred */ |
| 36 | 35 | if( g.fNoSync ){ |
| 37 | 36 | return 0; |
| 38 | 37 | } |
| | @@ -81,11 +80,10 @@ |
| 81 | 80 | ** of a server to sync against. If no argument is given, use the |
| 82 | 81 | ** most recently synced URL. Remember the current URL for next time. |
| 83 | 82 | */ |
| 84 | 83 | static void process_sync_args(unsigned *pConfigFlags, unsigned *pSyncFlags){ |
| 85 | 84 | const char *zUrl = 0; |
| 86 | | - const char *zPw = 0; |
| 87 | 85 | unsigned configSync = 0; |
| 88 | 86 | unsigned urlFlags = URL_REMEMBER | URL_PROMPT_PW; |
| 89 | 87 | int urlOptional = find_option("autourl",0,0)!=0; |
| 90 | 88 | if( find_option("once",0,0)!=0 ) urlFlags &= ~URL_REMEMBER; |
| 91 | 89 | if( find_option("private",0,0)!=0 ){ |
| 92 | 90 | |