summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-04-29 20:11:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-29 20:11:50 +0100
commit478a4032da69654245d478e15902feda1e49c84c (patch)
tree9b4267be4d26ac2ad8d5f9677f64ac264da5440b /opencl
parent77327a03904ad7d6f58b07ec698cd15f02a4d6fa (diff)
coverity#1358844 Uninitialized pointer field
Change-Id: I66f34570c49f647cb1fd7775ef263e5e720d8064
Diffstat (limited to 'opencl')
-rw-r--r--opencl/inc/opencl_device_selection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h
index 6ec506dd0314..e2bda73af8f3 100644
--- a/opencl/inc/opencl_device_selection.h
+++ b/opencl/inc/opencl_device_selection.h
@@ -326,6 +326,9 @@ private:
public:
XmlWalker()
+ : mpDocPtr(nullptr)
+ , mpRoot(nullptr)
+ , mpCurrent(nullptr)
{}
~XmlWalker()