Skip to content

Commit

Permalink
Fix analyser issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Nov 14, 2018
1 parent 7ab6dd4 commit e1c0b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/nvramparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ USTATUS NvramParser::parseNvarStore(const UModelIndex & index)
goto parsing_done;
}

timestamp = readUnaligned((UINT64*)(tail.constData()) + sizeof(UINT8));
timestamp = readUnaligned((UINT64*)(tail.constData() + sizeof(UINT8)));
hash = tail.mid(sizeof(UINT64) + sizeof(UINT8), SHA256_HASH_SIZE);
hasTimestamp = true;
hasHash = true;
Expand Down
2 changes: 1 addition & 1 deletion common/treemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class TreeModel
UString data(const UModelIndex &index, int role) const;
UString headerData(int section, int orientation, int role = 0) const;

TreeModel() {
TreeModel() : markingEnabledFlag(false) {
rootItem = new TreeItem(0, Types::Root, 0, UString(), UString(), UString(), UByteArray(), UByteArray(), UByteArray(), TRUE, FALSE);
}

Expand Down

0 comments on commit e1c0b08

Please sign in to comment.