diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-10 13:07:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-10 15:44:58 +0000 |
commit | b6d6dab920a9e14a6fe9c61446da64ab62dcbfdf (patch) | |
tree | 0b80eb631d6869ad1c3c06857909c08c9f5d3480 /sc/source/core/opencl/formulagroupcl.cxx | |
parent | 441523b0df8983fb34409a5f4e25dde571be1af7 (diff) |
V668 no sense in testing the result of new against null
Change-Id: I1cff71d15f4d1b5ee47cc734b3fc2168d7f99201
Diffstat (limited to 'sc/source/core/opencl/formulagroupcl.cxx')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index e83069d32347..c4a2c3f5bd1f 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -4029,9 +4029,6 @@ DynamicKernel* DynamicKernel::create( const ScCalcConfig& rConfig, ScTokenArray& DynamicKernel* pDynamicKernel = new DynamicKernel(rConfig, Root, nResultSize); - if (!pDynamicKernel) - return NULL; - // OpenCL source code generation and kernel compilation try { |