[PATCH] Initialize m_hFile in FileMapping constructor.

Catalin Iacob iacobcatalin at gmail.com
Thu Mar 22 14:32:59 PDT 2012


Find attached a patch that fixes compilation on gcc 4.6.2 (OpenSUSE
12.1 + Tumbleweed) with the following autogen.lastrun:

See commit message for more details.

What I don't understand is why am I the only one hitting this. I think
GCC only does the analysis to warn about uninitialized variables when
compiled with optimization, but still: am I the only one with this GCC
version that compiled with optimization and --enable-werror?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initialize-m_hFile-in-FileMapping-constructor.patch
Type: text/x-patch
Size: 1739 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120322/ddaca4de/attachment.bin>

More information about the LibreOffice mailing list