From 99cc30339d9cb98b240a6e0ef59c333fe3194018 Mon Sep 17 00:00:00 2001 From: jaortega Date: Fri, 1 Dec 2000 23:35:35 +0000 Subject: removed checks for null pointer after g_new () --- mixlib/mix_vm_dump.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'mixlib/mix_vm_dump.c') diff --git a/mixlib/mix_vm_dump.c b/mixlib/mix_vm_dump.c index 33b5c38..c77e90b 100644 --- a/mixlib/mix_vm_dump.c +++ b/mixlib/mix_vm_dump.c @@ -40,8 +40,6 @@ mix_dump_context_new(gint fd, mix_address_t begin, mix_address_t end, if ( end >= MEM_CELLS_NO_ ) end = MEM_CELLS_NO_; result = g_new (mix_dump_context_t,1); - g_return_val_if_fail (result != NULL, NULL); - result->options = options; result->begin = begin; result->end = end; -- cgit v1.2.3