display: Fix warnings, make warnings as errors

Change-Id: I61f22765b04112be48e62135db930c415c9c7d37
This commit is contained in:
Naseer Ahmed
2012-07-15 23:56:21 -07:00
committed by Brian Muramatsu
parent 01d3fd3318
commit b16edac510
4 changed files with 9 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ int IonController::allocate(alloc_data& data, int usage)
IMemAlloc* IonController::getAllocator(int flags)
{
IMemAlloc* memalloc;
IMemAlloc* memalloc = NULL;
if (flags & private_handle_t::PRIV_FLAGS_USES_ION) {
memalloc = mIonAlloc;
} else {