From eb97288b64a4f39e9d0b328aa16a6fd4c657c0e0 Mon Sep 17 00:00:00 2001 From: is Date: Wed, 15 Oct 1997 08:53:24 +0000 Subject: Make compiler happy. --- arithmetic/arithmetic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arithmetic') diff --git a/arithmetic/arithmetic.c b/arithmetic/arithmetic.c index fa16d56c..29ffcb99 100644 --- a/arithmetic/arithmetic.c +++ b/arithmetic/arithmetic.c @@ -1,4 +1,4 @@ -/* $NetBSD: arithmetic.c,v 1.8 1997/10/10 11:49:44 lukem Exp $ */ +/* $NetBSD: arithmetic.c,v 1.9 1997/10/15 08:53:24 is Exp $ */ /* * Copyright (c) 1989, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\ #if 0 static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: arithmetic.c,v 1.8 1997/10/10 11:49:44 lukem Exp $"); +__RCSID("$NetBSD: arithmetic.c,v 1.9 1997/10/15 08:53:24 is Exp $"); #endif #endif /* not lint */ @@ -197,7 +197,7 @@ problem() int left, op, right, result; char line[80]; - left = result = 0; + right = left = result = 0; op = keys[random() % nkeys]; if (op != '/') right = getrandom(rangemax + 1, op, 1); -- cgit v1.2.3-56-ge451