summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDebug.c
diff options
context:
space:
mode:
authordas <das>2007-11-08 17:37:34 (GMT)
committerdas <das>2007-11-08 17:37:34 (GMT)
commitfef8f89bf21e879ce76c241192871ee50d07fcd1 (patch)
treea3cee17564eba33e89bda133e807640a34451013 /macosx/tkMacOSXDebug.c
parent2532b702fd31a6d95300d845dcde6418be093951 (diff)
downloadtk-fef8f89bf21e879ce76c241192871ee50d07fcd1.zip
tk-fef8f89bf21e879ce76c241192871ee50d07fcd1.tar.gz
tk-fef8f89bf21e879ce76c241192871ee50d07fcd1.tar.bz2
fix warnings
Diffstat (limited to 'macosx/tkMacOSXDebug.c')
-rw-r--r--macosx/tkMacOSXDebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDebug.c b/macosx/tkMacOSXDebug.c
index affd1a1..65c7df9 100644
--- a/macosx/tkMacOSXDebug.c
+++ b/macosx/tkMacOSXDebug.c
@@ -54,7 +54,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.17 2007/11/08 15:45:31 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.18 2007/11/08 17:37:34 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -521,7 +521,7 @@ TkMacOSXGetNamedDebugSymbol(
if (!addr) {
const struct mach_header *mh = NULL;
uint32_t i, n = _dyld_image_count();
- size_t module_len;
+ size_t module_len = 0;
if (module && *module) {
module_len = strlen(module);