From owner-cvs-all Sun Apr 7 0:12:44 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C662937B417; Sun, 7 Apr 2002 00:12:39 -0800 (PST) Received: (from gad@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g378CdV14192; Sun, 7 Apr 2002 00:12:39 -0800 (PST) (envelope-from gad) Message-Id: <200204070812.g378CdV14192@freefall.freebsd.org> From: Garance A Drosehn Date: Sun, 7 Apr 2002 00:12:39 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd printjob.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gad 2002/04/07 00:12:39 PST Modified files: usr.sbin/lpr/lpd printjob.c Log: A variable had been unnecessarily assigned a bogus value because gcc was "confused" about it being unassigned. In fact, gcc was right. Fix the real problem by setting that variable before break-ing out of a select statement so gcc is happy, and then remove the unnecessary assignment. Reported by: a user wondering why lpd syslog-ed about "compiler confusion" MFC after: 12 days Revision Changes Path 1.48 +6 -7 src/usr.sbin/lpr/lpd/printjob.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message