From cb2d2bc4995c82aeee4b5e0a41fd6fd21a58f21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 27 Sep 2006 05:41:40 +0000 Subject: Assert the presence of _last, although it was obvious by the previosu asserts. CVS patchset: 8315 CVS date: 2006/09/27 05:41:40 --- src/input/vcd/libvcd/image_nrg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/input/vcd/libvcd/image_nrg.c b/src/input/vcd/libvcd/image_nrg.c index c7912e26a..1faeb98a9 100644 --- a/src/input/vcd/libvcd/image_nrg.c +++ b/src/input/vcd/libvcd/image_nrg.c @@ -1,5 +1,5 @@ /* - $Id: image_nrg.c,v 1.3 2005/01/01 02:43:59 rockyb Exp $ + $Id: image_nrg.c,v 1.4 2006/09/27 05:41:40 dgp85 Exp $ Copyright (C) 2001, 2003, 2004 Herbert Valerio Riedel @@ -44,7 +44,7 @@ #include "stream_stdio.h" #include "util.h" -static const char _rcsid[] = "$Id: image_nrg.c,v 1.3 2005/01/01 02:43:59 rockyb Exp $"; +static const char _rcsid[] = "$Id: image_nrg.c,v 1.4 2006/09/27 05:41:40 dgp85 Exp $"; /* structures used */ @@ -203,6 +203,7 @@ _map (_img_nrg_snk_t *_obj, uint32_t lsn) } vcd_assert (node != NULL); + vcd_assert (_last != NULL); switch (_last->type) { -- cgit v1.2.3