Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 00:12:39 -0800 (PST)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/lpr/lpd printjob.c
Message-ID:  <200204070812.g378CdV14192@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204070812.g378CdV14192>