This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit 7e5f4128da31f22cfbb53bbce3490f9a18ab3fe2
Author: Daniel P. Berrange <d...@berrange.com>
Date:   Thu Jun 30 21:51:14 2011 +0100

    Fix more compile warnings, including missing variable return
---
 DBus.xs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/DBus.xs b/DBus.xs
index 2c000db..4291759 100644
--- a/DBus.xs
+++ b/DBus.xs
@@ -294,14 +294,12 @@ _message_filter(DBusConnection *con,
                DBusMessage *msg,
                void *data) {
     SV *selfref;
-    HV *self;
     SV *value;
     int count;
     int handled = 0;
     dSP;
 
     selfref = (SV*)dbus_connection_get_data(con, connection_data_slot);
-    self = (HV*)SvRV(selfref);
 
     DEBUG_MSG("Create message in filter %p\n", msg);
     DEBUG_MSG("  Type %d\n", dbus_message_get_type(msg));
@@ -341,12 +339,10 @@ void
 _pending_call_callback(DBusPendingCall *call,
                       void *data) {
     SV *selfref;
-    HV *self;
     dSP;
 
     DEBUG_MSG("In pending call callback %p\n", call);
     selfref = (SV*)dbus_pending_call_get_data(call, pending_call_data_slot);
-    self = (HV*)SvRV(selfref);
 
     dbus_pending_call_ref(call);
 
@@ -754,6 +750,8 @@ dbus_bus_register(con)
          _croak_error(&error);
        }
        RETVAL = reply;
+  OUTPUT:
+        RETVAL
 
 void
 dbus_bus_add_match(con, rule)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to