diff data.lua @ 118:c32d6bf6cfc1

Removed debug prints and obsolete todos
author contrebasse
date Sun, 19 Jun 2011 13:05:52 +0200
parents e6bb47c6d8d6
children
line wrap: on
line diff
--- a/data.lua	Sun Jun 19 13:04:37 2011 +0200
+++ b/data.lua	Sun Jun 19 13:05:52 2011 +0200
@@ -4,7 +4,6 @@
 
 do
 	-- lua functions
-	local print = print
 	local ipairs = ipairs
 	local pairs = pairs
 	local tinsert = tinsert
@@ -110,7 +109,6 @@
 				if not recipeLink then isRecipeCorrect = false; end
 
 				if not isRecipeCorrect then
-					print("Recette incorrecte")
 					isScanCorrect = false
 				end
 				-- error checking
@@ -149,9 +147,6 @@
 			end -- if
 		end -- for
 		-- the scanning is complete
-		if not isScanCorrect then
-			print("Erreur dans le scan")
-		end
 		return isScanCorrect
 	end -- function
 end -- do