]> git.e2factory.org Git - e2factory.git/commitdiff
err: remove unused getcount() argument
authorTobias Ulmer <tu@emlix.com>
Fri, 13 Nov 2015 17:11:04 +0000 (18:11 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:18 +0000 (15:41 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/err.lua

index fc9ae72cb4c5c24a180e3a3a7cf9bd353f5d848b..6b793e3617f07996d00231930c9b4f58cf2b06d0 100644 (file)
@@ -105,9 +105,8 @@ end
 --- get the error counter
 -- @param e the error object
 -- @return number: the error counter
-function err.getcount(e, n)
+function err.getcount(e)
     assert_err(e)
-    assert(n == nil) -- unused, spot uses
     return e.count
 end