From 7f27ed9c1fbfe5e24891ca9dd4c3d8e85623674e Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 5 May 2007 22:15:22 +0000 Subject: [PATCH] fixed warnings in previous check in --- include/libtorrent/upnp.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/upnp.hpp b/include/libtorrent/upnp.hpp index 818b21871..3a48dc720 100644 --- a/include/libtorrent/upnp.hpp +++ b/include/libtorrent/upnp.hpp @@ -132,9 +132,9 @@ private: struct rootdevice { - rootdevice(): lease_duration(default_lease_time) + rootdevice(): service_namespace(0) + , lease_duration(default_lease_time) , supports_specific_external(true) - , service_namespace(0) { mapping[0].protocol = 0; mapping[1].protocol = 1;