fixed compiler warning

This commit is contained in:
Michael Ossmann
2014-08-21 22:05:20 -06:00
parent a3dbde7a81
commit 109d11558e

View File

@ -398,7 +398,6 @@ int tx_callback(hackrf_transfer* transfer) {
} }
} else if (transceiver_mode == TRANSCEIVER_MODE_SS) { } else if (transceiver_mode == TRANSCEIVER_MODE_SS) {
/* Transmit continuous wave with specific amplitude */ /* Transmit continuous wave with specific amplitude */
ssize_t bytes_read;
byte_count += transfer->valid_length; byte_count += transfer->valid_length;
bytes_to_read = transfer->valid_length; bytes_to_read = transfer->valid_length;
if (limit_num_samples) { if (limit_num_samples) {