|
From: | Stefan Monnier |
Subject: | Re: emacs' turn: remove useless if-before-free tests |
Date: | Sun, 01 Jun 2008 22:26:40 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> Sounds like a good cleanup. Feel free to install it unless there's >> a strong objection. > One possible concern is that it will lose programmer's explicit > intention that "this variable may contain either NULL or a return > value of xmalloc" in contrast to "this variable always contain a > return value of xmalloc". I can't imagine this would be a problem: if the intention matters, the `if' will cover more than just the call to `free'. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |