summaryrefslogtreecommitdiffstats
path: root/generic/tkOption.c
diff options
context:
space:
mode:
authorericm <ericm>2000-05-27 02:11:37 (GMT)
committerericm <ericm>2000-05-27 02:11:37 (GMT)
commit57153a20927965e81e319e1ce58e1ef5c4792845 (patch)
treeb384d0eac77461520a78dda9261fbea7f2f9be65 /generic/tkOption.c
parentbbde180cb5c1067e709a1f48d2f8425aae3eada4 (diff)
downloadtk-57153a20927965e81e319e1ce58e1ef5c4792845.zip
tk-57153a20927965e81e319e1ce58e1ef5c4792845.tar.gz
tk-57153a20927965e81e319e1ce58e1ef5c4792845.tar.bz2
Added initializer for classId variable in Tk_GetOption.
Diffstat (limited to 'generic/tkOption.c')
-rw-r--r--generic/tkOption.c4
1 files 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;