2.6.9-rc1: selinux/hooks.c: functions returning unassigned variables

From: Adrian Bunk
Date: Tue Aug 24 2004 - 10:38:46 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/