Commit e0b7f0f8 authored by Vinson Lee's avatar Vinson Lee
Browse files

cl-api-enqueue-map-buffer: Initialize variable.

Fix uninitialized scalar variable defect reported by Coverity.
Signed-off-by: Vinson Lee's avatarVinson Lee <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
parent c8124ef1
......@@ -131,7 +131,7 @@ piglit_cl_test(const int argc,
* Version: 1.2
if(env->version >= 12) {
enum piglit_result result;
enum piglit_result result = PIGLIT_PASS;
cl_mem device_mem;
cl_ulong alloc_size = 64;
cl_int *host_mem;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment