<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3125: NULL vs. 0 cleanup



#3125: NULL vs. 0 cleanup
--------------------------+-------------------------------------------------
  Reporter:  ahf          |       Owner:  mutt-dev
      Type:  enhancement  |      Status:  closed  
  Priority:  trivial      |   Milestone:  1.6     
 Component:  mutt         |     Version:          
Resolution:  fixed        |    Keywords:  patch   
--------------------------+-------------------------------------------------

Comment(by vinc17):

 For readability of the code, I would avoid using ! on non-booleans.
 Comparing with 0 was OK, and comparing with NULL emphasizes the fact that
 the other term is a pointer.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3125#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent