int capacity, size, num_chunks, chunk_bytes_free, chunk_offset;
gpointer chunk;
- /* QUICK HACK */
+ /* Avoid compiler warnings. */
in_unitsize = in_unitsize;
probelist = probelist;
static int hw_init(char *deviceinfo)
{
- /* Avoid compiler warning. */
+ /* Avoid compiler warnings. */
deviceinfo = deviceinfo;
struct sigrok_device_instance *sdi;
static int hw_opendev(int device_index)
{
- /* Avoid compiler warning. */
+ /* Avoid compiler warnings. */
device_index = device_index;
/* Nothing needed so far. */
static void hw_closedev(int device_index)
{
- /* Avoid compiler warning. */
+ /* Avoid compiler warnings. */
device_index = device_index;
/* Nothing needed so far. */
static int hw_get_status(int device_index)
{
- /* Avoid compiler warning. */
+ /* Avoid compiler warnings. */
device_index = device_index;
return 0; /* FIXME */
int ret;
uint64_t *tmp_u64;
- /* Avoid compiler warning. */
+ /* Avoid compiler warnings. */
device_index = device_index;
if (capability == HWCAP_SAMPLERATE) {
{
struct datafeed_packet packet;
- /* QUICK HACK */
+ /* Avoid compiler warnings. */
device_index = device_index;
/* Send last packet. */
libusb_device **devlist;
int err, devcnt, i;
- /* QUICK HACK */
+ /* Avoid compiler warnings. */
deviceinfo = deviceinfo;
if (libusb_init(&usb_context) != 0) {
{
struct timeval tv;
- /* QUICK HACK */
+ /* Avoid compiler warnings. */
fd = fd;
revents = revents;
user_data = user_data;
{
struct datafeed_packet packet;
- /* QUICK HACK */
+ /* Avoid compiler warnings. */
device_index = device_index;
packet.type = DF_END;