Commit 7e1a94e5 authored by Kai Koehne's avatar Kai Koehne

Remove unneeded typedefs

Fix gcc 4.8.0 warnings like

warning: typedef 'AvahiSimplePollSetFuncPtr' locally defined but not
used [-Wunused-local-typedefs]

Change-Id: I5cc2917958dc8e6a4c31031577ecc66575b8d328
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 3937aabd
......@@ -334,7 +334,6 @@ public:
delete connection;
return kDNSServiceErr_Unknown;
}
typedef void (*AvahiSimplePollSetFuncPtr)(AvahiSimplePoll *s, AvahiPollFunc func, void *userdata);
m_simplePollSetFunc(connection->simple_poll, &cAvahiPollFunction, mainConnection);
/* Allocate a new client */
int error;
......
......@@ -192,8 +192,6 @@ NewDialog::NewDialog(QWidget *parent) :
m_ui(new Core::Internal::Ui::NewDialog),
m_okButton(0)
{
typedef QMap<QString, QStandardItem *> CategoryItemMap;
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
m_ui->setupUi(this);
QPalette p = m_ui->frame->palette();
......
......@@ -405,7 +405,6 @@ static void addVariableMemoryView(DebuggerEngine *engine, bool separateView,
static void addStackLayoutMemoryView(DebuggerEngine *engine, bool separateView,
const QAbstractItemModel *m, const QPoint &p, QWidget *parent)
{
typedef QPair<quint64, QString> RegisterValueNamePair;
QTC_ASSERT(engine && m, return);
// Determine suitable address range from locals.
......
......@@ -88,9 +88,6 @@ static bool
const QMap<QString, QString> &fieldMap,
QString *stdOut /* = 0 */, QString *errorMessage)
{
typedef QSharedPointer<QTemporaryFile> TemporaryFilePtr;
typedef QList<TemporaryFilePtr> TemporaryFilePtrList;
QProcess process;
const QString binary = script.front();
QStringList arguments;
......
......@@ -296,8 +296,6 @@ int Highlighter::onBlockStart()
void Highlighter::onBlockEnd(int state)
{
typedef TextEditor::TextBlockUserData TextEditorBlockData;
setCurrentBlockState((m_braceDepth << 8) | state);
TextEditor::BaseTextDocumentLayout::setParentheses(currentBlock(), m_currentBlockParentheses);
TextEditor::BaseTextDocumentLayout::setFoldingIndent(currentBlock(), m_foldingIndent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment