X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a793401243b24e2c3c95e97804fa9c2942bd9df3..0ebd9515e5df4a756d27eea9ea9ee9ac193dd7bd:/src/common/tarstrm.cpp?ds=sidebyside diff --git a/src/common/tarstrm.cpp b/src/common/tarstrm.cpp index c7c61dba70..18412660d7 100644 --- a/src/common/tarstrm.cpp +++ b/src/common/tarstrm.cpp @@ -61,7 +61,7 @@ enum { }; enum { - TAR_BLOCKSIZE = 512, + TAR_BLOCKSIZE = 512 }; // checksum type @@ -154,7 +154,7 @@ private: static void check(); }; -wxDEFINE_SCOPED_PTR_TYPE(wxTarHeaderBlock); +wxDEFINE_SCOPED_PTR_TYPE(wxTarHeaderBlock) // A table giving the field names and offsets in a tar header block const wxTarField wxTarHeaderBlock::fields[] = @@ -181,10 +181,12 @@ const wxTarField wxTarHeaderBlock::fields[] = void wxTarHeaderBlock::check() { +#if 0 wxCOMPILE_TIME_ASSERT( WXSIZEOF(fields) == TAR_NUMFIELDS + 1, Wrong_number_of_elements_in_fields_table ); +#endif } bool wxTarHeaderBlock::IsAllZeros() const