Suppress the uninitialized variable warning on ia64 introduced by
the previous commit by initializing i and j. These initializations will normally be eliminated by the compiler.
This commit is contained in:
parent
17310089d6
commit
ea23c70af4
@ -187,6 +187,8 @@ tr_rdcd(kobj_t obj, void *devinfo, int regno)
|
||||
return -1;
|
||||
}
|
||||
|
||||
i = j = 0;
|
||||
|
||||
regno &= 0x7f;
|
||||
snd_mtxlock(tr->lock);
|
||||
if (tr->type == ALI_PCI_ID) {
|
||||
@ -238,6 +240,8 @@ tr_wrcd(kobj_t obj, void *devinfo, int regno, u_int32_t data)
|
||||
return -1;
|
||||
}
|
||||
|
||||
i = 0;
|
||||
|
||||
regno &= 0x7f;
|
||||
#if 0
|
||||
printf("tr_wrcd: reg %x was %x", regno, tr_rdcd(devinfo, regno));
|
||||
|
Loading…
x
Reference in New Issue
Block a user