Skip to content

Commit

Permalink
default initializations
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Feb 5, 2023
1 parent 60fcb9d commit ed30504
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/tiffcomposite_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ TiffBinaryArray::TiffBinaryArray(uint16_t tag, IfdId group, const ArraySet* arra
}

TiffBinaryElement::TiffBinaryElement(uint16_t tag, IfdId group) : TiffEntryBase(tag, group) {
elDef_.idx_ = 0;
elDef_.tiffType_ = ttUndefined;
elDef_.count_ = 0;
}

TiffDirectory::~TiffDirectory() {
Expand Down
2 changes: 1 addition & 1 deletion src/tiffcomposite_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ class TiffBinaryElement : public TiffEntryBase {

private:
// DATA
ArrayDef elDef_; //!< The array element definition
ArrayDef elDef_{0, ttUndefined, 0}; //!< The array element definition
ByteOrder elByteOrder_{invalidByteOrder}; //!< Byte order to read/write the element

}; // class TiffBinaryElement
Expand Down

0 comments on commit ed30504

Please sign in to comment.