mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Initialise name variable.
This commit is contained in:
parent
e07c72687b
commit
127c4a5ff4
@ -1180,6 +1180,7 @@ static bool opencl_thread_prepare(struct thr_info *thr)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strcpy(name, "");
|
||||||
applog(LOG_INFO, "Init GPU thread %i GPU %i virtual GPU %i", i, gpu, virtual_gpu);
|
applog(LOG_INFO, "Init GPU thread %i GPU %i virtual GPU %i", i, gpu, virtual_gpu);
|
||||||
clStates[i] = initCl(virtual_gpu, name, sizeof(name));
|
clStates[i] = initCl(virtual_gpu, name, sizeof(name));
|
||||||
if (!clStates[i]) {
|
if (!clStates[i]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user