From cd84ca11a20ce59033b89c9be9e1ce68212305eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Wed, 16 Oct 2019 12:31:36 +0000 Subject: [PATCH] Fix #307: error: assigning field to itself [-Werror,-Wself-assign-field] --- Libraries/pbxspec/Sources/PBX/FileType.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/pbxspec/Sources/PBX/FileType.cpp b/Libraries/pbxspec/Sources/PBX/FileType.cpp index 909e5f0b0..962531ad7 100644 --- a/Libraries/pbxspec/Sources/PBX/FileType.cpp +++ b/Libraries/pbxspec/Sources/PBX/FileType.cpp @@ -48,7 +48,6 @@ inherit(FileType::shared_ptr const &b) auto base = this->base(); _uti = Inherit::Override(_uti, base->_uti); - _extensions = _extensions; /* Explicitly not inherited. */ _mimeTypes = Inherit::Combine(_mimeTypes, base->_mimeTypes); _typeCodes = Inherit::Combine(_typeCodes, base->_typeCodes); _filenamePatterns = Inherit::Combine(_filenamePatterns, base->_filenamePatterns);