Re: [PATCH] nm-device: Remove bogus warning
- From: Colin Walters <walters verbum org>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH] nm-device: Remove bogus warning
- Date: Wed, 19 Jun 2013 09:19:51 -0400
On Wed, 2013-06-19 at 08:11 -0500, Dan Williams wrote:
It's more there because it's potentially a bug
Ok, the logic seems odd because we're doing effectively:
if (condition)
{
if (condition)
warning ();
deal_with_it ();
}
If the code had looked like:
if (condition)
{
g_warn_if_reached ();
deal_with_it ();
}
it would have made more sense to me.
What are you seeing it for?
It always fires for me starting NM git master in my Fedora 19 test VM;
it doesn't for you?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]