summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 13:36:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 13:36:17 +0200
commit578ad4bebbfa4582e2f85c8a2fa79b1eb541bdac (patch)
treede69d315498c69b1b7fdc0adf7e29efb181ff30d
parent35a80d6757d5988749b4d5a07f4bf96ff02021ac (diff)
Don't memset twice in succession
-rw-r--r--ftnoir_csv/csv.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ftnoir_csv/csv.cpp b/ftnoir_csv/csv.cpp
index f20c0203..2b90788f 100644
--- a/ftnoir_csv/csv.cpp
+++ b/ftnoir_csv/csv.cpp
@@ -156,7 +156,6 @@ void CSV::getGameData( const QString& gameID, bool& tirviews, bool& dummy, unsig
fuzz + 1) != 11 || ((fuzz[2] << 8) | fuzz[0]) != gameLine.at(0).toInt())
{
qDebug() << "scanf failed" << fuzz[0] << fuzz[1] << fuzz[2];
- memset(table, 0, 8);
}
else
for (int i = 0; i < 8; i++)