From b21dba8fc4e64ed1b04b366e2e53165bc8f557c0 Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 18 Mar 2003 01:21:49 +0000 Subject: [PATCH] Fix warning about uninitialized variable. --- libveriuser/a_handle_tfarg.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libveriuser/a_handle_tfarg.c b/libveriuser/a_handle_tfarg.c index 349ce3130..50975b781 100644 --- a/libveriuser/a_handle_tfarg.c +++ b/libveriuser/a_handle_tfarg.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: a_handle_tfarg.c,v 1.4 2003/03/14 04:58:50 steve Exp $" +#ident "$Id: a_handle_tfarg.c,v 1.5 2003/03/18 01:21:49 steve Exp $" #endif #include @@ -28,7 +28,7 @@ */ handle acc_handle_tfarg(int n) { - vpiHandle sys_h, sys_i, rtn_h; + vpiHandle sys_h, sys_i, rtn_h = 0; if (n > 0) { sys_h = vpi_handle(vpiSysTfCall, 0 /* NULL */); @@ -58,6 +58,9 @@ handle acc_handle_tfinst(void) /* * $Log: a_handle_tfarg.c,v $ + * Revision 1.5 2003/03/18 01:21:49 steve + * Fix warning about uninitialized variable. + * * Revision 1.4 2003/03/14 04:58:50 steve * Free the iterator when Im done. *