public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: John Cherry <cherry@osdl.org>, "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org, sds@epoch.ncsc.mil, jmorris@redhat.com
Subject: 2.6.9-rc1: selinux/hooks.c: functions returning unassigned variables
Date: Tue, 24 Aug 2004 17:33:43 +0200	[thread overview]
Message-ID: <20040824153342.GG7019@fs.tum.de> (raw)
In-Reply-To: <200408241519.i7OFJS6S027910@cherrypit.pdx.osdl.net>

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


  reply	other threads:[~2004-08-24 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-24 15:19 IA32 (2.6.8.1 - 2004-08-23.21.30) - 3 New warnings (gcc 3.2.2) John Cherry
2004-08-24 15:33 ` Adrian Bunk [this message]
2004-08-24 15:41   ` 2.6.9-rc1: selinux/hooks.c: functions returning unassigned variables Stephen Smalley
2004-08-24 18:50     ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040824153342.GG7019@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=cherry@osdl.org \
    --cc=davem@redhat.com \
    --cc=jmorris@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sds@epoch.ncsc.mil \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox