From 73812e957ed823a3ed3b0ec751f1c77b6c91180f Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Tue, 3 Sep 2013 14:39:11 +0200 Subject: [PATCH] Clean up unused code --- binding-mri/binding-mri.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/binding-mri/binding-mri.cpp b/binding-mri/binding-mri.cpp index 938654f..d70e939 100644 --- a/binding-mri/binding-mri.cpp +++ b/binding-mri/binding-mri.cpp @@ -249,18 +249,12 @@ static void runRMXPScripts() break; } -// QFile file(QString("/home/Ancurio/programming/C++/mkxp/dump/%1.rb").arg(i, 3, 10, QChar('0'))); -// if (file.open(QFile::WriteOnly)) -// file.write(decodeBuffer.constData(), bufferLen); - sc.decData = QByteArray(decodeBuffer.constData(), bufferLen); ruby_script(sc.name.constData()); rb_gc_start(); - qDebug() << "Executing script:" << QString("%1").arg(i, 3, 10, QChar('0')); - /* Execute code */ rb_eval_string_protect(decodeBuffer.constData(), 0); @@ -268,16 +262,6 @@ static void runRMXPScripts() if (rb_type(exc) != RUBY_T_NIL) break; } - -// QFile file("/home/Ancurio/programming/C++/mkxp/dump/index"); -// if (file.open(QFile::WriteOnly)) -// { -// for (int i = 0; i < encScripts.size(); ++i) -// { -// const Script &sc = encScripts[i]; -// file.write(sc.name); -// } -// } } static void mriBindingExecute()