lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.6.9-rc1: selinux/hooks.c: functions returning unassigned variables
    On Tue, Aug 24, 2004 at 08:19:28AM -0700, John Cherry wrote:
    >...
    > security/selinux/hooks.c:2825: warning: `ret' might be used uninitialized in this function
    > security/selinux/hooks.c:2886: warning: `ret' might be used uninitialized in this function


    This was
    [NET]: Add skb_header_pointer, and use it where possible.


    @Dave:
    In both functions ret is returned, but line that assigned a value to ret
    was removed.

    *shrug*


    cu
    Adrian

    --

    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

    -
    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 14:05    [W:0.019 / U:0.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site