Fossil SCM
Fix uninitialized local variable in the "fossil ui" implementation.
Commit
a7aa779b2b16e0dd89de924b3ae019c8953bd1ed64525247d944c478ce763683
Parent
c359589ef6371bf…
1 file changed
+1
-1
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -2905,11 +2905,11 @@ | ||
| 2905 | 2905 | int fNoBrowser = 0; /* Do not auto-launch web-browser */ |
| 2906 | 2906 | const char *zInitPage = 0; /* Start on this page. --page option */ |
| 2907 | 2907 | int findServerArg = 2; /* argv index for find_server_repository() */ |
| 2908 | 2908 | char *zRemote = 0; /* Remote host on which to run "fossil ui" */ |
| 2909 | 2909 | const char *zJsMode; /* The --jsmode parameter */ |
| 2910 | - const char *zFossilCmd; /* Name of "fossil" binary on remote system */ | |
| 2910 | + const char *zFossilCmd =0; /* Name of "fossil" binary on remote system */ | |
| 2911 | 2911 | |
| 2912 | 2912 | |
| 2913 | 2913 | #if defined(_WIN32) |
| 2914 | 2914 | const char *zStopperFile; /* Name of file used to terminate server */ |
| 2915 | 2915 | zStopperFile = find_option("stopper", 0, 1); |
| 2916 | 2916 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2905,11 +2905,11 @@ | |
| 2905 | int fNoBrowser = 0; /* Do not auto-launch web-browser */ |
| 2906 | const char *zInitPage = 0; /* Start on this page. --page option */ |
| 2907 | int findServerArg = 2; /* argv index for find_server_repository() */ |
| 2908 | char *zRemote = 0; /* Remote host on which to run "fossil ui" */ |
| 2909 | const char *zJsMode; /* The --jsmode parameter */ |
| 2910 | const char *zFossilCmd; /* Name of "fossil" binary on remote system */ |
| 2911 | |
| 2912 | |
| 2913 | #if defined(_WIN32) |
| 2914 | const char *zStopperFile; /* Name of file used to terminate server */ |
| 2915 | zStopperFile = find_option("stopper", 0, 1); |
| 2916 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2905,11 +2905,11 @@ | |
| 2905 | int fNoBrowser = 0; /* Do not auto-launch web-browser */ |
| 2906 | const char *zInitPage = 0; /* Start on this page. --page option */ |
| 2907 | int findServerArg = 2; /* argv index for find_server_repository() */ |
| 2908 | char *zRemote = 0; /* Remote host on which to run "fossil ui" */ |
| 2909 | const char *zJsMode; /* The --jsmode parameter */ |
| 2910 | const char *zFossilCmd =0; /* Name of "fossil" binary on remote system */ |
| 2911 | |
| 2912 | |
| 2913 | #if defined(_WIN32) |
| 2914 | const char *zStopperFile; /* Name of file used to terminate server */ |
| 2915 | zStopperFile = find_option("stopper", 0, 1); |
| 2916 |