Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 00:15:55 -0700 (PDT)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ed buf.c
Message-ID:  <200206200715.g5K7Ftj16110@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jmallett    2002/06/20 00:15:55 PDT

  Modified files:
    bin/ed               buf.c 
  Log:
  Bogusness may have happened using a variable assignment here before, but
  proper parens mean that fd is always set by open(2) [in any part of C],
  and so we can accurately check for it returning -1, without feeling like
  we need to initialise fd to -1 in its declaration.
  
  In other words, fix a stylistic/bogus nit.
  
  Revision  Changes    Path
  1.21      +1 -1      src/bin/ed/buf.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?200206200715.g5K7Ftj16110>