summaryrefslogtreecommitdiff
path: root/ufo/ufo-buffer.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-11-24 15:41:03 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-11-24 15:41:03 +0100
commita327d9d2e2e149541ed17498328d30209d7738bc (patch)
tree868fa90ec08e36b96b4a23e7250376ac7e3fb92e /ufo/ufo-buffer.c
parentdd9fc49d1e5019facf6493ac653754a9bdbe1f87 (diff)
Initialize uninitialized variable
Diffstat (limited to 'ufo/ufo-buffer.c')
-rw-r--r--ufo/ufo-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufo/ufo-buffer.c b/ufo/ufo-buffer.c
index 853cd54..5a69a78 100644
--- a/ufo/ufo-buffer.c
+++ b/ufo/ufo-buffer.c
@@ -214,9 +214,9 @@ alloc_device_image (UfoBufferPrivate *priv)
{
cl_image_format format;
cl_mem_flags flags;
- cl_int err;
gsize width, height, depth;
cl_mem mem = NULL;
+ cl_int err = CL_SUCCESS;
g_assert ((priv->requisition.n_dims == 2) ||
(priv->requisition.n_dims == 3));