mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
OP-1170 got rid of all compiler warnings in Core plugin.
This commit is contained in:
parent
a632b4ad06
commit
2bd808995d
@ -105,6 +105,7 @@ void ConnectionManager::addWidget(QWidget *widget)
|
||||
*/
|
||||
bool ConnectionManager::connectDevice(DevListItem device)
|
||||
{
|
||||
Q_UNUSED(device);
|
||||
QString deviceName = m_availableDevList->itemData(m_availableDevList->currentIndex(), Qt::ToolTipRole).toString();
|
||||
DevListItem connection_device = findDevice(deviceName);
|
||||
|
||||
|
@ -1110,7 +1110,7 @@ MimeType MimeDatabasePrivate::findByFile(const QFileInfo &f) const
|
||||
// Returns a mime type or Null one if none found
|
||||
MimeType MimeDatabasePrivate::findByFile(const QFileInfo &f, unsigned *priorityPtr) const
|
||||
{
|
||||
typedef QList<MimeMapEntry> MimeMapEntryList;
|
||||
typedef QList<MimeMapEntry> MimeMapEntryList __attribute__ ((unused));
|
||||
|
||||
// Is the hierarchy set up in case we find several matches?
|
||||
if (m_maxLevel < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user