Skip to content

Commit

Permalink
Fix facebookarchive#307: error: assigning field to itself [-Werror,-W…
Browse files Browse the repository at this point in the history
…self-assign-field]
  • Loading branch information
saper committed Oct 21, 2019
1 parent 6d54672 commit 13a549d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pbxspec/Sources/PBX/FileType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,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);
Expand Down

0 comments on commit 13a549d

Please sign in to comment.