Fix unit test issues

remove dead store
initialize default values in class definition

Change-Id: I39abef12104a80df13ace0fb127c4ee24e00b184
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
This commit is contained in:
Jablonski, Mateusz
2020-03-13 14:59:00 +01:00
parent 43433244f9
commit a996ec6d9a
29 changed files with 116 additions and 231 deletions

View File

@ -14,17 +14,12 @@ namespace NEO {
class CommandQueue;
struct IndirectHeapFixture {
IndirectHeapFixture() : pDSH(nullptr),
pIOH(nullptr),
pSSH(nullptr) {
}
virtual void SetUp(CommandQueue *pCmdQ);
virtual void TearDown() {
}
IndirectHeap *pDSH;
IndirectHeap *pIOH;
IndirectHeap *pSSH;
IndirectHeap *pDSH = nullptr;
IndirectHeap *pIOH = nullptr;
IndirectHeap *pSSH = nullptr;
};
} // namespace NEO