diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-07-12 17:44:43 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-07-12 17:44:43 +0900 |
| commit | 7fbd8a50ef96b704d756e2b79699dbed07d1450a (patch) | |
| tree | 5333ebcf43b5123fa4f27da38fd33f5f22c49418 /src | |
| parent | 3aaa5a7344ef631998df9a9c2bd6cf4fbca11ac8 (diff) | |
Fix compile error and warning with clang
Diffstat (limited to 'src')
| -rw-r--r-- | src/Piece.cc | 2 | ||||
| -rw-r--r-- | src/Piece.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/Piece.cc b/src/Piece.cc index 8ab439f8..176ad911 100644 --- a/src/Piece.cc +++ b/src/Piece.cc @@ -55,7 +55,6 @@ Piece::Piece() wrCache_(nullptr), index_(0), length_(0), - blockLength_(BLOCK_LENGTH), nextBegin_(0), usedBySegment_(false) {} @@ -65,7 +64,6 @@ Piece::Piece(size_t index, int64_t length, int32_t blockLength) wrCache_(nullptr), index_(index), length_(length), - blockLength_(blockLength), nextBegin_(0), usedBySegment_(false) {} diff --git a/src/Piece.h b/src/Piece.h index c5252b67..952923a5 100644 --- a/src/Piece.h +++ b/src/Piece.h @@ -63,7 +63,6 @@ private: size_t index_; int64_t length_; - int32_t blockLength_; int64_t nextBegin_; bool usedBySegment_; |
