From 57153a20927965e81e319e1ce58e1ef5c4792845 Mon Sep 17 00:00:00 2001 From: ericm Date: Sat, 27 May 2000 02:11:37 +0000 Subject: Added initializer for classId variable in Tk_GetOption. --- generic/tkOption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tkOption.c b/generic/tkOption.c index 0f1e2d9..74fa344 100644 --- a/generic/tkOption.c +++ b/generic/tkOption.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkOption.c,v 1.6 2000/05/27 01:49:37 ericm Exp $ + * RCS: @(#) $Id: tkOption.c,v 1.7 2000/05/27 02:11:37 ericm Exp $ */ #include "tkPort.h" @@ -396,7 +396,7 @@ Tk_GetOption(tkwin, name, className) * is no class for this option: just * check for name. */ { - Tk_Uid nameId, classId; + Tk_Uid nameId, classId = NULL; char *masqName; register Element *elPtr, *bestPtr; register int count; -- cgit v0.12