unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
To: Jim Meyering <jim@meyering.net>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Remove useless if-before-free and if-before-xfree tests
Date: Mon, 29 Jun 2009 09:52:09 +0200	[thread overview]
Message-ID: <87r5x3lbo6.fsf@kfs-lx.rd.rdm> (raw)
In-Reply-To: <87d48nvc6k.fsf@meyering.net> (Jim Meyering's message of "Mon, 29 Jun 2009 07:30:59 +0200")

Jim Meyering <jim@meyering.net> writes:

> I removed a bunch of these last year.
> Since then, a few have snuck back in, so here's another round.
> I've just committed the following two change sets:

I haven't looked specifically at the changes, but a test before xfree
may not be useless performance-wise if the normal case is "ptr is NULL".

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk





  reply	other threads:[~2009-06-29  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29  5:30 Remove useless if-before-free and if-before-xfree tests Jim Meyering
2009-06-29  7:52 ` Kim F. Storm [this message]
2009-06-29  8:06   ` Jim Meyering
2009-06-29 23:43     ` Stephen J. Turnbull

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5x3lbo6.fsf@kfs-lx.rd.rdm \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=jim@meyering.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).