Fix some easy to fix warnings
[scilab.git] / scilab / modules / elementary_functions / sci_gateway / cpp / sci_cumsum.cpp
index 4328872..809bff7 100644 (file)
@@ -385,6 +385,8 @@ types::Function::ReturnValue sci_cumsum(types::typed_list &in, int _iRetCount, t
                 out.push_back(toInt<types::UInt64>(pDblOut));
                 break;
             }
+            default:
+                return types::Function::Error;
         }
 
         if (pDblOut)