1
0
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:
m_thread 2014-02-26 17:19:58 +01:00
parent a632b4ad06
commit 2bd808995d
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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) {