# HG changeset patch
# User mjsousa <msousa@fe.up.pt>
# Date 1336683839 -3600
# Node ID af3e378e98f9cb8afcb0cbc505dc982f69f9db8f
# Parent  da6e089d0006aa4a9231226691b0e14868ac8194
Remove useless code, and replace with assertion.

diff -r da6e089d0006 -r af3e378e98f9 stage3/datatype_functions.cc
--- a/stage3/datatype_functions.cc	Thu May 10 19:20:18 2012 +0100
+++ b/stage3/datatype_functions.cc	Thu May 10 22:03:59 2012 +0100
@@ -25,7 +25,7 @@
 #include "datatype_functions.hh"
 #include "../absyntax_utils/absyntax_utils.hh"
 #include <vector>
-// #include <algorithm>
+
 
 
 
@@ -37,9 +37,7 @@
   if (NULL == singleton)    singleton = new elementary_type_c;
   if (NULL == singleton)    ERROR;
   const char *res           = (const char *)symbol->accept(*singleton);
-  if (NULL == res) {
-	  int i = 1;
-  }
+  if (NULL == res)          ERROR;
   return res;
 }