linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: compiler warning in wireless-testing.
Date: Thu, 15 Mar 2012 11:37:04 -0700	[thread overview]
Message-ID: <4F6236D0.40505@candelatech.com> (raw)

Looks like this is the compiler's fault to me..but might be
worth explicitly initializing the sta variable just to make
it quiet.

   CC [M]  net/mac80211/mlme.o
/home/greearb/git/linux.wireless-testing/net/mac80211/mlme.c: In function ‘ieee80211_prep_connection’:
/home/greearb/git/linux.wireless-testing/net/mac80211/mlme.c:3058: warning: ‘sta’ may be used uninitialized in this function
   CC [M]  net/mac80211/debugfs.o
   CC [M]  net/mac80211/debugfs_netdev.o

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


             reply	other threads:[~2012-03-15 18:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15 18:37 Ben Greear [this message]
2012-03-15 18:39 ` compiler warning in wireless-testing Johannes Berg
2012-03-15 18:53   ` Eliad Peller
2012-03-15 18:59     ` Johannes Berg
2012-03-15 19:15       ` Eliad Peller
2012-03-15 19:19         ` Johannes Berg

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=4F6236D0.40505@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).