Boost logo

Boost-Commit :

From: igaztanaga_at_[hidden]
Date: 2007-11-06 11:56:49


Author: igaztanaga
Date: 2007-11-06 11:56:48 EST (Tue, 06 Nov 2007)
New Revision: 40842
URL: http://svn.boost.org/trac/boost/changeset/40842

Log:
Initialized native handle to avoid warnings in Visual2005
Text files modified:
   trunk/boost/interprocess/mapped_region.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/mapped_region.hpp
==============================================================================
--- trunk/boost/interprocess/mapped_region.hpp (original)
+++ trunk/boost/interprocess/mapped_region.hpp 2007-11-06 11:56:48 EST (Tue, 06 Nov 2007)
@@ -207,7 +207,7 @@
    , m_file_mapping_hnd(detail::invalid_file())
 {
    mapping_handle_t mhandle = mapping.get_mapping_handle();
- file_handle_t native_mapping_handle;
+ file_handle_t native_mapping_handle = 0;
 
    //Set accesses
    unsigned long file_map_access = 0;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk