Skip to content
Snippets Groups Projects
Commit 136c1fea authored by al.schwinn's avatar al.schwinn
Browse files

supress conmpiler warning

parent 6631e339
No related branches found
No related tags found
No related merge requests found
......@@ -46,8 +46,7 @@ StdErrRedirect::StdErrRedirect(QTextEdit *errorLog,QObject *parent): QObject(par
fileToRename.rename(tmpFileNameQtFormat+".old");
// Set up redirection to this file:
FILE* fdesc = freopen(tmpFileNameNativeFormat.toAscii().constData(), "a+", stderr);
fdesc = NULL; //just defined to avoid L866 warning
freopen(tmpFileNameNativeFormat.toAscii().constData(), "a+", stderr);
// Initialise the QFileSystemWatcher:
connect(&watcher, SIGNAL(fileChanged(const QString &)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment