summaryrefslogtreecommitdiff
path: root/libproxy/modules
diff options
context:
space:
mode:
authornicolas.dufresne <nicolas.dufresne@c587cffe-e639-0410-9787-d7902ae8ed56>2010-03-29 15:10:48 +0000
committernicolas.dufresne <nicolas.dufresne@c587cffe-e639-0410-9787-d7902ae8ed56>2010-03-29 15:10:48 +0000
commitec6b1d4c53a20a0626f8d0753ce2bdcc08cfe1d1 (patch)
treec6b6432bda235419ed98c0ae57f21eb238edfc35 /libproxy/modules
parentf8974cb57efe4ef42013feea3b91c7bed6a8acc4 (diff)
downloadlibproxy-ec6b1d4c53a20a0626f8d0753ce2bdcc08cfe1d1.tar.gz
Added {} at the end of loops that does nothing
This removes warnings emited by GCC. git-svn-id: http://libproxy.googlecode.com/svn/trunk@646 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libproxy/modules')
-rw-r--r--libproxy/modules/network_networkmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/modules/network_networkmanager.cpp b/libproxy/modules/network_networkmanager.cpp
index 4304ae2..7f621f4 100644
--- a/libproxy/modules/network_networkmanager.cpp
+++ b/libproxy/modules/network_networkmanager.cpp
@@ -46,7 +46,7 @@ public:
{
dbus_connection_close(conn);
dbus_connection_read_write(conn, 0);
- for (DBusMessage *msg=NULL ; (msg = dbus_connection_pop_message(conn)) ; dbus_message_unref(msg));
+ for (DBusMessage *msg=NULL ; (msg = dbus_connection_pop_message(conn)) ; dbus_message_unref(msg)) {};
}
// Create a new connections