lkml.org 
[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Remove useless assertions from reiserfs
    On Mon, Aug 11, 2003 at 08:33:13PM +0200, Petr Vandrovec wrote:

    > I always thought that assertions are just for that - if you can hit them
    > without some unexpected event/bug, you have a SERIOUS problem.

    Not for when you explicitly code things above so it really cannot
    happen. An assertion is more for the case "I really hope someone
    doesn't pass me x in state y" type assertions than "I really hope
    the compiler did the right thing with the previous loop"

    Dave

    --
    Dave Jones http://www.codemonkey.org.uk
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:47    [W:2.908 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site