From 2ef53d33547bae5f2ed91f1a11471ee11c3edd59 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 12 Nov 2021 17:04:49 +0000 Subject: [PATCH] Fix gcc warnings and markdown --- plugins/channelrx/demodadsb/adsbdemodgui.cpp | 3 +++ plugins/channelrx/demodadsb/readme.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/channelrx/demodadsb/adsbdemodgui.cpp b/plugins/channelrx/demodadsb/adsbdemodgui.cpp index 24658a767..d6d3efb5e 100644 --- a/plugins/channelrx/demodadsb/adsbdemodgui.cpp +++ b/plugins/channelrx/demodadsb/adsbdemodgui.cpp @@ -511,6 +511,9 @@ QVariant AirspaceModel::data(const QModelIndex &index, int role) const bool AirspaceModel::setData(const QModelIndex &index, const QVariant& value, int role) { + (void) value; + (void) role; + int row = index.row(); if ((row < 0) || (row >= m_airspaces.count())) { return false; diff --git a/plugins/channelrx/demodadsb/readme.md b/plugins/channelrx/demodadsb/readme.md index 37635eeed..4ca7e5f75 100644 --- a/plugins/channelrx/demodadsb/readme.md +++ b/plugins/channelrx/demodadsb/readme.md @@ -98,7 +98,7 @@ When clicked, flight information (departure and arrival airport and times) is do To be able to use this, a callsign for the highlighted aircraft must have been received. Also, the callsign must be mappable to a flight number, which is not always possible (this is typically the case for callsigns that end in two characters, as for these, some digits from the flight number will have been omitted). -To use this feature, an (aviationstack)[aviationstack.com] API Key must be entered in the Display Settings dialog (12). A free key giving 500 API calls per month is (available)[https://aviationstack.com/product]. +To use this feature, an [aviationstack](https://aviationstack.com) API Key must be entered in the Display Settings dialog (12). A free key giving 500 API calls per month is [available](https://aviationstack.com/product).

16: Feed