[network-manager-pptp/NETWORKMANAGER_0_7] Fix a bunch of compiler warnings



commit fb1198ecfe8f3ba0ca0c5a6cac454a9c7b823d3c
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]