diff options
author | das <das> | 2005-08-22 11:54:19 (GMT) |
---|---|---|
committer | das <das> | 2005-08-22 11:54:19 (GMT) |
commit | 6c3967704d759e1cf47471002f6e0a8d574f22e5 (patch) | |
tree | d9c5fdc4a1c45e916e2dc49228fce649462d4949 /macosx/tkMacOSXDialog.c | |
parent | c30673f8047e10cd3e4aec093e5e1ce312f90f71 (diff) | |
download | tk-6c3967704d759e1cf47471002f6e0a8d574f22e5.zip tk-6c3967704d759e1cf47471002f6e0a8d574f22e5.tar.gz tk-6c3967704d759e1cf47471002f6e0a8d574f22e5.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 b12cc67..d3c329e 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.14 2005/08/09 07:39:20 das Exp $ + * RCS: @(#) $Id: tkMacOSXDialog.c,v 1.15 2005/08/22 11:54:20 das Exp $ */ #include <Carbon/Carbon.h> @@ -1291,7 +1291,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[] = { |