Fossil SCM

Fix a harmless compiler warning.

drh 2012-09-08 13:13 trunk
Commit c42408e15b8566b9bbafbb90480f3bb01c6d0759
1 file changed +1 -1
+1 -1
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -457,11 +457,11 @@
457457
/*
458458
** Return the name of the external diff command, or return NULL if
459459
** no external diff command is defined.
460460
*/
461461
const char *diff_command_external(int guiDiff){
462
- const char *zDefault;
462
+ char *zDefault;
463463
const char *zName;
464464
465465
if( guiDiff ){
466466
#if defined(_WIN32)
467467
zDefault = "WinDiff.exe";
468468
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -457,11 +457,11 @@
457 /*
458 ** Return the name of the external diff command, or return NULL if
459 ** no external diff command is defined.
460 */
461 const char *diff_command_external(int guiDiff){
462 const char *zDefault;
463 const char *zName;
464
465 if( guiDiff ){
466 #if defined(_WIN32)
467 zDefault = "WinDiff.exe";
468
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -457,11 +457,11 @@
457 /*
458 ** Return the name of the external diff command, or return NULL if
459 ** no external diff command is defined.
460 */
461 const char *diff_command_external(int guiDiff){
462 char *zDefault;
463 const char *zName;
464
465 if( guiDiff ){
466 #if defined(_WIN32)
467 zDefault = "WinDiff.exe";
468

Keyboard Shortcuts

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