diff options
author | das <das> | 2005-08-22 11:55:15 (GMT) |
---|---|---|
committer | das <das> | 2005-08-22 11:55:15 (GMT) |
commit | a6b6fbe9b87f5fb51396427fadb2b0f374a75767 (patch) | |
tree | c37bd57f5fe84b286cc723cf504a021329d8c516 /macosx/tkMacOSXDialog.c | |
parent | 1bc670a852bf284c03f9040366a577b6633da727 (diff) | |
download | tk-a6b6fbe9b87f5fb51396427fadb2b0f374a75767.zip tk-a6b6fbe9b87f5fb51396427fadb2b0f374a75767.tar.gz tk-a6b6fbe9b87f5fb51396427fadb2b0f374a75767.tar.bz2 |
* macosx/tkMacOSXButton.c:
* macosx/tkMacOSXDialog.c: fix warnings.
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 34f3fc0..d94b945 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.4.2.5 2005/08/09 07:39:54 das Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.4.2.6 2005/08/22 11:55:15 das Exp $ */ #include <Carbon/Carbon.h> @@ -1292,7 +1292,7 @@ Tk_MessageBoxObjCmd( int defaultNativeButtonIndex; /* 1, 2, 3: right to left. */ int typeIndex; int i; - int indexDefaultOption; + int indexDefaultOption = 0; int result = TCL_OK; static CONST char *movableAlertStrings[] = { |