[network-manager-pptp] Fix a bunch of compiler warnings
- From: Michael Biebl <mbiebl src gnome org>
- To: svn-commits-list gnome org
- Subject: [network-manager-pptp] Fix a bunch of compiler warnings
- Date: Thu, 30 Apr 2009 06:56:54 -0400 (EDT)
commit 41a99335c52ba6361fe94021a9bb5a4b3614d7fc
Author: Michael Biebl <biebl debian org>
Date: Thu Apr 23 20:01:15 2009 +0200
Fix a bunch of compiler warnings
---
src/nm-pptp-service.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/nm-pptp-service.c b/src/nm-pptp-service.c
index 7e86d6c..125d523 100644
--- a/src/nm-pptp-service.c
+++ b/src/nm-pptp-service.c
@@ -117,7 +117,7 @@ enum {
};
static guint signals[LAST_SIGNAL] = { 0 };
-NMPptpPppService *
+static NMPptpPppService *
nm_pptp_ppp_service_new (void)
{
DBusGConnection *connection;
@@ -926,13 +926,13 @@ nm_gvalue_destroy (gpointer data)
static GValue *
nm_gvalue_dup (const GValue *value)
{
- GValue *dup;
+ GValue *value_dup;
- dup = g_slice_new0 (GValue);
- g_value_init (dup, G_VALUE_TYPE (value));
- g_value_copy (value, dup);
+ value_dup = g_slice_new0 (GValue);
+ g_value_init (value_dup, G_VALUE_TYPE (value));
+ g_value_copy (value, value_dup);
- return dup;
+ return value_dup;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]