libbladeRF: Fix warning due to unused variable.
This commit is contained in:
parent
6331b06d9f
commit
d3e1fa0333
1 changed files with 0 additions and 2 deletions
|
|
@ -129,7 +129,6 @@ int bladerf_open_with_devinfo(struct bladerf **device,
|
|||
/* dev path becomes device specifier string (osmosdr-like) */
|
||||
int bladerf_open(struct bladerf **device, const char *dev_id)
|
||||
{
|
||||
struct bladerf *dev;
|
||||
struct bladerf_devinfo devinfo;
|
||||
int status;
|
||||
|
||||
|
|
@ -140,7 +139,6 @@ int bladerf_open(struct bladerf **device, const char *dev_id)
|
|||
|
||||
if (!status) {
|
||||
status = bladerf_open_with_devinfo(device, &devinfo);
|
||||
dev = *device;
|
||||
}
|
||||
|
||||
return status;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue