mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +00:00
unused preprocessor directive
This commit is contained in:
parent
50483e35cb
commit
d9b1f2065d
3
api.c
3
api.c
@ -843,9 +843,6 @@ struct api_data *print_data(struct api_data *root, char *buf, bool isjson, bool
|
|||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DRIVER_COUNT_DRV(X) if (devices[i]->drv->drv_id == DRIVER_##X) \
|
|
||||||
count++;
|
|
||||||
|
|
||||||
// All replies (except BYE and RESTART) start with a message
|
// All replies (except BYE and RESTART) start with a message
|
||||||
// thus for JSON, message() inserts JSON_START at the front
|
// thus for JSON, message() inserts JSON_START at the front
|
||||||
// and send_result() adds JSON_END at the end
|
// and send_result() adds JSON_END at the end
|
||||||
|
Loading…
Reference in New Issue
Block a user