diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-08-26 17:03:58 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-31 23:02:38 +0200 |
commit | b4de54fcefecbc3edb1ce747579f53243943f4cf (patch) | |
tree | fc376f132306a5fafb7a8b63271370d048045d2c /src/network/access/qftp.cpp | |
parent | 0f8d8f412766915744954a26f8c1004d179be3da (diff) |
Remove workarounds to old GCC bugs we had encountered on IRIX
The check is bogus anyway. It was bogus when it was added. The bug is
not because of "GCC on IRIX", it's simply a GCC bug and was probably
tied to some GCC versions. It should have been reported and followed up.
I don't even remember what GCC versions we had on the IRIX machines
(plastkrakk, I can't remember the other two machine names). But I could
bet they were GCC 3.4 or 4.0.
Change-Id: I84ce4e1ad68bb0520b63c210f841e0c604dbd03a
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/network/access/qftp.cpp')
-rw-r--r-- | src/network/access/qftp.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/network/access/qftp.cpp b/src/network/access/qftp.cpp index 173f825b23..a77e1a643c 100644 --- a/src/network/access/qftp.cpp +++ b/src/network/access/qftp.cpp @@ -1042,18 +1042,10 @@ bool QFtpPI::processReply() if (static_cast<signed char>(replyCode[0]) < 0 || replyCode[0] > 5) state = Failure; else -#if defined(Q_OS_IRIX) && defined(Q_CC_GNU) - { - // work around a crash on 64 bit gcc IRIX - State *t = (State *) table; - state = t[replyCode[0] - 1]; - } -#else if (replyCodeInt == 202) state = Failure; else state = table[replyCode[0] - 1]; -#endif break; default: // ignore unrequested message |