display: Remove klockwork warnings and errors.
Remove all klockwork warnings and errors for libgralloc, libhwcomposer, liboverlay, libqdutils, libqservice, libvirtual, libexternal libraries to avoid buffer overflow and memory leaks. Change-Id: I078143bcbcf5e4b342156bd8305a644566f7cc4b
This commit is contained in:
@@ -45,7 +45,7 @@ IFBUpdate* IFBUpdate::getObject(hwc_context_t *ctx, const int& dpy) {
|
||||
}
|
||||
|
||||
IFBUpdate::IFBUpdate(hwc_context_t *ctx, const int& dpy) : mDpy(dpy) {
|
||||
size_t size;
|
||||
size_t size = 0;
|
||||
getBufferAttributes(ctx->dpyAttr[mDpy].xres,
|
||||
ctx->dpyAttr[mDpy].yres,
|
||||
HAL_PIXEL_FORMAT_RGBA_8888,
|
||||
|
||||
Reference in New Issue
Block a user