Fix warnings. Add -Werror so they break the build in future.

This commit is contained in:
Oliver Jowett 2015-01-04 20:08:33 +00:00
parent 14a8e71629
commit 76474f58ab
3 changed files with 12 additions and 1 deletions

View file

@ -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;
}
//
//=========================================================================