remove unecessary allocation
[calc.git] / stack.c
diff --git a/stack.c b/stack.c
index a355fa5e3281b2fc34d1c3460c43701d776c99a2..081023fa985c4d7f3d097e7483662c04096d59a3 100644 (file)
--- a/stack.c
+++ b/stack.c
@@ -124,12 +124,7 @@ double min ()
 
 void order ()
 {
-    int n = size_tab (stack);
-    if (n < 3) {
-        VERBOSE (WARNING, fprintf (stdout, "error not enough element in stack (%d)\n", n));
-    } else {
-        order_tab (stack);
-    }
+    order_tab (stack);
 }
 
 double median ()