Fossil SCM
Fix a harmless compiler warning.
Commit
b4862238ec50899e50c7440499b7107ad2837f0226c32575ad5b5d8f6e7f47b4
Parent
f62805ed859bc87…
1 file changed
+1
-1
+1
-1
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -568,11 +568,11 @@ | ||
| 568 | 568 | ** Event notifications on this session cause the U+0007 character to |
| 569 | 569 | ** be sent to the TTY on which the "fossil chat" command is run, thus |
| 570 | 570 | ** causing an auditory notification. |
| 571 | 571 | */ |
| 572 | 572 | void chat_command(void){ |
| 573 | - const char *zUrl; | |
| 573 | + const char *zUrl = 0; | |
| 574 | 574 | char *azArgv[5]; |
| 575 | 575 | db_find_and_open_repository(0,0); |
| 576 | 576 | if( g.argc==3 ){ |
| 577 | 577 | zUrl = g.argv[2]; |
| 578 | 578 | }else if( g.argc!=2 ){ |
| 579 | 579 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -568,11 +568,11 @@ | |
| 568 | ** Event notifications on this session cause the U+0007 character to |
| 569 | ** be sent to the TTY on which the "fossil chat" command is run, thus |
| 570 | ** causing an auditory notification. |
| 571 | */ |
| 572 | void chat_command(void){ |
| 573 | const char *zUrl; |
| 574 | char *azArgv[5]; |
| 575 | db_find_and_open_repository(0,0); |
| 576 | if( g.argc==3 ){ |
| 577 | zUrl = g.argv[2]; |
| 578 | }else if( g.argc!=2 ){ |
| 579 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -568,11 +568,11 @@ | |
| 568 | ** Event notifications on this session cause the U+0007 character to |
| 569 | ** be sent to the TTY on which the "fossil chat" command is run, thus |
| 570 | ** causing an auditory notification. |
| 571 | */ |
| 572 | void chat_command(void){ |
| 573 | const char *zUrl = 0; |
| 574 | char *azArgv[5]; |
| 575 | db_find_and_open_repository(0,0); |
| 576 | if( g.argc==3 ){ |
| 577 | zUrl = g.argv[2]; |
| 578 | }else if( g.argc!=2 ){ |
| 579 |