Commit 93f39956 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix compiler warnings.

parent b8f7ee24
......@@ -96,7 +96,6 @@ NodeInstanceClientProxy::NodeInstanceClientProxy(QObject *parent)
void NodeInstanceClientProxy::writeCommand(const QVariant &command)
{
static unsigned int commandCounter = 0;
QByteArray block;
QDataStream out(&block, QIODevice::WriteOnly);
out << quint32(0);
......
......@@ -277,7 +277,6 @@ void NodeInstanceServerProxy::processFinished(int /*exitCode*/, QProcess::ExitSt
void NodeInstanceServerProxy::readFirstDataStream()
{
static unsigned int lastCommandCounter = 0;
QList<QVariant> commandList;
while (!m_firstSocket->atEnd()) {
......@@ -315,7 +314,6 @@ void NodeInstanceServerProxy::readFirstDataStream()
void NodeInstanceServerProxy::readSecondDataStream()
{
static unsigned int lastCommandCounter = 0;
QList<QVariant> commandList;
while (!m_secondSocket->atEnd()) {
......
......@@ -2559,6 +2559,7 @@ void testMPI()
int main(int argc, char *argv[])
{
int *x = new int(32);
Q_UNUSED(x);
testQXmlAttributes();
testQRegExp();
testInlineBreakpoints();
......
#pragma GCC diagnostic ignored "-Wuninitialized"
int main()
{
int i;
......
#pragma GCC diagnostic ignored "-Wuninitialized"
int main()
{
bool b;
......
#pragma GCC diagnostic ignored "-Wuninitialized"
int main()
{
int *i;
......
#pragma GCC diagnostic ignored "-Wuninitialized"
int main()
{
int *i;
......
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