Move flag setting inside the curly braces.

This commit is contained in:
Kwabena W. Agyeman 2019-10-15 23:59:27 -07:00
parent 4fbab0cf03
commit c20efaba54

View File

@ -170,8 +170,8 @@ void *fb_alloc_all(uint32_t *size, int hints)
// Return overlay memory instead.
pointer_overlay -= *size;
result = pointer_overlay;
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
}
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
#endif
return result;
}