From 0df26654ae82ce5f9c6df1841860503a5b0e0c9d Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 30 Jun 2005 13:44:48 +0000 Subject: Initialize lnum and unum to avoid a "might be used uninitialized" warning. --- ching/printching/printching.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ching') diff --git a/ching/printching/printching.c b/ching/printching/printching.c index 818ca96e..3f70d941 100644 --- a/ching/printching/printching.c +++ b/ching/printching/printching.c @@ -1,4 +1,4 @@ -/* $NetBSD: printching.c,v 1.1 2005/06/30 13:30:33 perry Exp $ */ +/* $NetBSD: printching.c,v 1.2 2005/06/30 13:44:48 martin Exp $ */ /* * Copyright (c) 1988, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)ching.phx.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: printching.c,v 1.1 2005/06/30 13:30:33 perry Exp $"); +__RCSID("$NetBSD: printching.c,v 1.2 2005/06/30 13:44:48 martin Exp $"); #endif #endif /* not lint */ @@ -137,7 +137,7 @@ int doahex(void) { int lower, upper; /* encoded values of lower and upper trigrams */ - int lnum, unum; /* indices of upper and lower trigrams */ + int lnum = 0, unum = 0; /* indices of upper and lower trigrams */ int i; lower = codem(0); -- cgit v1.2.3-56-ge451