diff options
Diffstat (limited to 'XMPFiles/source/FormatSupport/ReconcileIPTC.cpp')
-rw-r--r-- | XMPFiles/source/FormatSupport/ReconcileIPTC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/XMPFiles/source/FormatSupport/ReconcileIPTC.cpp b/XMPFiles/source/FormatSupport/ReconcileIPTC.cpp index bf797d5..5bead01 100644 --- a/XMPFiles/source/FormatSupport/ReconcileIPTC.cpp +++ b/XMPFiles/source/FormatSupport/ReconcileIPTC.cpp @@ -197,7 +197,8 @@ void PhotoDataUtils::ImportIPTC_Date ( XMP_Uns8 dateID, const IPTC_Manager & ipt size_t chPos, digits; XMP_DateTime xmpDate; - memset ( &xmpDate, 0, sizeof(xmpDate) ); + // (Exempi) unsafe. Constructor is already called + //memset ( &xmpDate, 0, sizeof(xmpDate) ); chPos = 0; for ( digits = 0; digits < 4; ++digits, ++chPos ) { |