Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Commit

Permalink
Remove a couple of unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Nov 9, 2015
1 parent 9e1c83a commit 90d5240
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions include/libespm2/Group.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ namespace libespm2 {
inline uint32_t readHeader(std::istream& input, size_t headerLengthToSkip) {
uint32_t groupSize = 0;

// Check the input stream is large enough.
size_t totalHeaderLength = typeLength + sizeof(groupSize) + headerLengthToSkip;

// Ignore the group type.
input.ignore(typeLength);

Expand Down
8 changes: 0 additions & 8 deletions include/libespm2/Record.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ namespace libespm2 {
inline uint32_t readHeader(std::istream& input, size_t headerLengthToSkip) {
uint32_t totalSubrecordsSize = 0;

// Check the input stream is large enough.
size_t totalHeaderLength =
typeLength +
sizeof(totalSubrecordsSize) +
sizeof(flags) +
sizeof(formId) +
headerLengthToSkip;

// Skip the record type.
input.ignore(typeLength);

Expand Down

0 comments on commit 90d5240

Please sign in to comment.