From c3dcc773d83cb173f36233b9d6bf07b88c95df53 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Thu, 4 Apr 2013 15:51:43 +0300 Subject: [PATCH] Fixed an assert. The assert now requires that if there are more that zero rows, the row table must not be NULL. --- murphy/scripting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/murphy/scripting.c b/murphy/scripting.c index 15b76ce..317ccd2 100644 --- a/murphy/scripting.c +++ b/murphy/scripting.c @@ -730,7 +730,7 @@ static void import_data_changed(struct userdata *u, pa_assert(u); pa_assert(table); - pa_assert(mval); + pa_assert(mval || nrow == 0); pa_assert_se((scripting = u->scripting)); pa_assert_se((L = scripting->L)); -- 2.7.4