Fix possible undefined value compiler warning

This commit is contained in:
Cary R 2010-09-22 09:37:10 -07:00 committed by Stephen Williams
parent b909c74a20
commit 4b16785f16
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ static void draw_net_input_x(ivl_nexus_t nex,
if (res == IVL_SIT_UWIRE) {
if (ndrivers > 1) {
unsigned uidx;
ivl_signal_t usig;
ivl_signal_t usig = 0;
/* Find the uwire signal. */
for (uidx = 0 ; uidx < ivl_nexus_ptrs(nex) ; uidx += 1) {
ivl_nexus_ptr_t ptr = ivl_nexus_ptr(nex, uidx);