[gjs] remove incorrect asserts in function.c



commit dcf0618a5cbbec1ebfa78044d35fcb327f7e7bbf
Author: Maxim Ermilov <zaspire rambler ru>
Date:   Thu Mar 18 06:14:21 2010 +0300

    remove incorrect asserts in function.c
    
    https://bugzilla.gnome.org/show_bug.cgi?id=611603

 gi/function.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gi/function.c b/gi/function.c
index f3083ea..9c8ef45 100644
--- a/gi/function.c
+++ b/gi/function.c
@@ -830,9 +830,6 @@ release:
     if (!(did_throw_gerror || failed)) {
         g_assert_cmpuint(out_args_pos, ==, out_args_len);
         g_assert_cmpuint(inout_args_pos, ==, inout_args_len);
-    } else {
-        g_assert_cmpuint(out_args_pos, ==, 0);
-        g_assert_cmpuint(inout_args_pos, ==, 0);
     }
 
     if (function->js_out_argc > 0 && (!failed && !did_throw_gerror)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]