# HG changeset patch # User Andreas Woess # Date 1389891058 -3600 # Node ID fff17b5dff8a3327ba64c270f239ae902b773c5a # Parent 32af063cc29c7f2f03b09e232eee12c0f31c6fb0 remove unreferenced local variable in gpu_ptx.cpp diff -r 32af063cc29c -r fff17b5dff8a src/gpu/ptx/vm/gpu_ptx.cpp --- a/src/gpu/ptx/vm/gpu_ptx.cpp Thu Jan 16 12:18:29 2014 +0100 +++ b/src/gpu/ptx/vm/gpu_ptx.cpp Thu Jan 16 17:50:58 2014 +0100 @@ -417,7 +417,6 @@ } thread->set_vm_result(return_val); } else if (returnTypeSize > 0) { - jlong result; status = gpu::Ptx::_cuda_cu_memcpy_dtoh(&primitiveReturnValue, device_return_value, T_LONG_BYTE_SIZE); if (status != GRAAL_CUDA_SUCCESS) { tty->print_cr("[CUDA] *** Error (%d) Failed to copy value from device argument", status);