part_get_signal(): Added missing return values.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@99 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent cfa3e30773
commit 895aacfcbf

@ -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];

Loading…
Cancel
Save