Warning fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2833 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -348,7 +348,6 @@ properties_changed_proxy (DBusGProxy *proxy,
|
||||
gpointer user_data)
|
||||
{
|
||||
NMAccessPoint *ap = NM_ACCESS_POINT (user_data);
|
||||
NMAccessPointPrivate *priv = NM_ACCESS_POINT_GET_PRIVATE (ap);
|
||||
|
||||
g_hash_table_foreach (properties, handle_property_changed, ap);
|
||||
}
|
||||
|
@@ -192,13 +192,10 @@ impl_connection_settings_get_secrets (NMConnectionSettings *connection,
|
||||
CONNECTION_SETTINGS_CLASS (connection)->get_secrets (connection, setting_name, context);
|
||||
}
|
||||
|
||||
static guint32 cs_counter = 0;
|
||||
|
||||
static void
|
||||
nm_connection_settings_init (NMConnectionSettings *connection)
|
||||
{
|
||||
DBusGConnection *bus_connection;
|
||||
GError *error = NULL;
|
||||
static guint32 cs_counter = 0;
|
||||
|
||||
connection->dbus_path = g_strdup_printf ("%s/%u",
|
||||
NM_DBUS_PATH_SETTINGS,
|
||||
|
@@ -3,6 +3,7 @@
|
||||
#include <glib-object.h>
|
||||
#include <dbus/dbus-glib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "nm-setting.h"
|
||||
#include "nm-utils.h"
|
||||
|
@@ -19,7 +19,7 @@
|
||||
* (C) Copyright 2005 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "nm-activation-request.h"
|
||||
#include "nm-marshal.h"
|
||||
#include "nm-manager.h"
|
||||
|
@@ -2340,8 +2340,6 @@ build_supplicant_config (NMDevice80211Wireless *self,
|
||||
NMAccessPoint *ap)
|
||||
{
|
||||
NMSupplicantConfig * config = NULL;
|
||||
const GByteArray * ssid;
|
||||
gboolean is_adhoc = FALSE;
|
||||
NMSettingWireless * s_wireless;
|
||||
NMSettingWirelessSecurity *s_wireless_sec;
|
||||
|
||||
@@ -2421,7 +2419,6 @@ real_connection_secrets_updated (NMDevice *dev,
|
||||
NMConnection *connection,
|
||||
const char *setting_name)
|
||||
{
|
||||
NMDevice80211Wireless * self = NM_DEVICE_802_11_WIRELESS (dev);
|
||||
NMActRequest *req;
|
||||
|
||||
if (nm_device_get_state (dev) != NM_DEVICE_STATE_NEED_AUTH)
|
||||
|
@@ -1037,8 +1037,6 @@ nm_device_activation_cancel (NMDevice *self)
|
||||
gboolean
|
||||
nm_device_deactivate_quickly (NMDevice *self)
|
||||
{
|
||||
NMActRequest * act_request;
|
||||
|
||||
g_return_val_if_fail (self != NULL, FALSE);
|
||||
|
||||
nm_system_shutdown_nis ();
|
||||
|
@@ -689,8 +689,6 @@ nm_netlink_monitor_event_handler (GIOChannel *channel,
|
||||
RTA_OK (attribute, num_attribute_bytes_to_process);
|
||||
attribute = RTA_NEXT (attribute, num_attribute_bytes_to_process))
|
||||
{
|
||||
int data_len = RTA_PAYLOAD (attribute);
|
||||
|
||||
if (attribute->rta_type == IFLA_IFNAME) {
|
||||
if (interface_info->ifi_flags & IFF_RUNNING) {
|
||||
g_signal_emit (G_OBJECT (monitor),
|
||||
|
@@ -98,7 +98,7 @@ NMVPNService *
|
||||
nm_vpn_service_new (const char *name)
|
||||
{
|
||||
GKeyFile *key_file;
|
||||
NMVPNService *service;
|
||||
NMVPNService *service = NULL;
|
||||
NMVPNServicePrivate *priv;
|
||||
char *dbus_service = NULL;
|
||||
char *program = NULL;
|
||||
|
Reference in New Issue
Block a user