lkml.org 
[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch] mousedev.c
    Date
    Igmar Palsenberg writes:
    > Patch looks not necessary. The compiler executes the statements until it
    > encounters a break.
    >
    > > - case BTN_EXTRA: if (list->mode > 1) { index = 4; break; }
    > > + case BTN_EXTRA: if (list->mode > 1) index = 4; break;

    You're telling us that:

    if (list->mode > 1) {
    index = 4;
    break;
    }

    is the same as:

    if (list->mode > 1)
    index = 4;
    break;

    ?
    _____
    |_____| ------------------------------------------------- ---+---+-
    | | Russell King rmk@arm.linux.org.uk --- ---
    | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
    | +-+-+ --- -+-
    / | THE developer of ARM Linux |+| /|\
    / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 12:38    [W:0.019 / U:147.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site