From 895aacfcbfce65ff7a5c45ffddfe337965ef02da Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Wed, 21 Aug 2002 21:44:06 +0000 Subject: [PATCH] part_get_signal(): Added missing return values. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@99 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/part/part.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jtag/src/part/part.c b/jtag/src/part/part.c index 56e44169..a66a4876 100644 --- a/jtag/src/part/part.c +++ b/jtag/src/part/part.c @@ -151,12 +151,12 @@ part_get_signal( part *p, const char *pname ) if (!s) { printf( "signal %s not found\n", pname ); - return; + return -1; } if (!s->input) { printf( "signal %s is not input signal\n", pname ); - return; + return -1; } return p->prev_bsr->data[s->input->bit];