Fix warnings. Add -Werror so they break the build in future.
This commit is contained in:
parent
14a8e71629
commit
76474f58ab
3 changed files with 12 additions and 1 deletions
|
@ -28,6 +28,9 @@
|
|||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
#include "dump1090.h"
|
||||
|
||||
static int verbose_device_search(char *s);
|
||||
|
||||
//
|
||||
// ============================= Utility functions ==========================
|
||||
//
|
||||
|
@ -255,6 +258,8 @@ int modesInitRTLSDR(void) {
|
|||
rtlsdr_reset_buffer(Modes.dev);
|
||||
fprintf(stderr, "Gain reported by device: %.2f\n",
|
||||
rtlsdr_get_tuner_gain(Modes.dev)/10.0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
//
|
||||
//=========================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue