mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-09 20:21:01 +00:00
Variable unused after this so remove setting it.
This commit is contained in:
parent
1c1b8bec9a
commit
55bd031db3
4
ocl.c
4
ocl.c
@ -576,7 +576,7 @@ build:
|
|||||||
* back and find the 2nd incidence of \x7ELF (rewind by one
|
* back and find the 2nd incidence of \x7ELF (rewind by one
|
||||||
* from ELF) and then patch the opcocdes */
|
* from ELF) and then patch the opcocdes */
|
||||||
if (!advance(&w, &remaining, ".text"))
|
if (!advance(&w, &remaining, ".text"))
|
||||||
{patchbfi = 0; goto build;}
|
goto build;
|
||||||
w++; remaining--;
|
w++; remaining--;
|
||||||
if (!advance(&w, &remaining, ".text")) {
|
if (!advance(&w, &remaining, ".text")) {
|
||||||
/* 32 bit builds only one ELF */
|
/* 32 bit builds only one ELF */
|
||||||
@ -586,7 +586,7 @@ build:
|
|||||||
memcpy(&length, w + 289, 4);
|
memcpy(&length, w + 289, 4);
|
||||||
w = binaries[gpu]; remaining = binary_sizes[gpu];
|
w = binaries[gpu]; remaining = binary_sizes[gpu];
|
||||||
if (!advance(&w, &remaining, "ELF"))
|
if (!advance(&w, &remaining, "ELF"))
|
||||||
{patchbfi = 0; goto build;}
|
goto build;
|
||||||
w++; remaining--;
|
w++; remaining--;
|
||||||
if (!advance(&w, &remaining, "ELF")) {
|
if (!advance(&w, &remaining, "ELF")) {
|
||||||
/* 32 bit builds only one ELF */
|
/* 32 bit builds only one ELF */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user