From bfc05e2d71154d9541e6115b52a93a1efd21f804 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 8 Aug 2001 00:57:20 +0000 Subject: [PATCH] Unused variable warnings. --- vvp/vpi_const.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/vvp/vpi_const.cc b/vvp/vpi_const.cc index 687d12bcd..b31c291db 100644 --- a/vvp/vpi_const.cc +++ b/vvp/vpi_const.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: vpi_const.cc,v 1.5 2001/07/11 04:40:52 steve Exp $" +#ident "$Id: vpi_const.cc,v 1.6 2001/08/08 00:57:20 steve Exp $" #endif # include "vpi_priv.h" @@ -28,8 +28,6 @@ static int string_get(int code, vpiHandle ref) { - struct __vpiStringConst*rfp = (struct __vpiStringConst*)ref; - assert(ref->vpi_type->type_code == vpiConstant); switch (code) { case vpiConstType: @@ -86,8 +84,6 @@ vpiHandle vpip_make_string_const(char*text) static int binary_get(int code, vpiHandle ref) { - struct __vpiBinaryConst*rfp = (struct __vpiBinaryConst*)ref; - assert(ref->vpi_type->type_code == vpiConstant); switch (code) { case vpiConstType: @@ -198,6 +194,9 @@ vpiHandle vpip_make_binary_const(unsigned wid, char*bits) /* * $Log: vpi_const.cc,v $ + * Revision 1.6 2001/08/08 00:57:20 steve + * Unused variable warnings. + * * Revision 1.5 2001/07/11 04:40:52 steve * Get endian of vpiIntVal from constants. *