OSDN Git Service

small fix.
authorvisor <visor@users.sourceforge.jp>
Thu, 13 Jun 2013 14:47:15 +0000 (23:47 +0900)
committervisor <visor@users.sourceforge.jp>
Thu, 13 Jun 2013 14:47:15 +0000 (23:47 +0900)
modules/ml-motor.cc

index e06ad73..7f9fdcb 100644 (file)
@@ -149,9 +149,6 @@ MNode*  ml_motor_item (MNode* cell, MlEnv* mlenv) {
     MNode*  arg = cell->cdr ();
     ustring  num;
 
-    if (!arg)
-       throw (uErrorWrongNumber);
-
     if (! mlenv->env->responseDone)
        mlenv->env->standardResponse ();
     while (arg) {
@@ -174,9 +171,6 @@ MNode*  ml_motor_output (MNode* cell, MlEnv* mlenv) {
     MNode*  arg = cell->cdr ();
     ustring  text;
 
-    if (!arg)
-       throw (uErrorWrongNumber);
-
     if (! mlenv->env->responseDone)
        mlenv->env->standardResponse ();
     while (arg) {
@@ -198,9 +192,6 @@ MNode*  ml_motor_output_html (MNode* cell, MlEnv* mlenv) {
     MNode*  arg = cell->cdr ();
     ustring  text;
 
-    if (!arg)
-       throw (uErrorWrongNumber);
-
     if (! mlenv->env->responseDone)
        mlenv->env->standardResponse ();
     {
@@ -233,9 +224,6 @@ MNode*  ml_motor_output_raw (MNode* cell, MlEnv* mlenv) {
     MNode*  arg = cell->cdr ();
     ustring  text;
 
-    if (!arg)
-       throw (uErrorWrongNumber);
-
     if (! mlenv->env->responseDone)
        mlenv->env->standardResponse ();
     while (arg) {
@@ -259,9 +247,6 @@ MNode*  ml_motor_output_string (MNode* cell, MlEnv* mlenv) {
     ustring  text;
     MotorOutputString  out;
 
-    if (!arg)
-       throw (uErrorWrongNumber);
-
     if (! mlenv->env->responseDone)
        mlenv->env->standardResponse ();
     {