diff options
author | roberto <roberto@FreeBSD.org> | 2002-04-15 14:43:23 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2002-04-15 14:43:23 +0000 |
commit | e1d6eb18318c84f1e7585d0c574ebf1043b4fa21 (patch) | |
tree | 92f189176976ee18dff6c3529b945519ee2b1e61 /sys/dev/sound | |
parent | c911a2cbdc2160e59e154570ac3e03078d8ce901 (diff) | |
download | FreeBSD-src-e1d6eb18318c84f1e7585d0c574ebf1043b4fa21.zip FreeBSD-src-e1d6eb18318c84f1e7585d0c574ebf1043b4fa21.tar.gz |
Remove a spurious warning as x is always initialised before use.
es137x.c: In function `es1371_rdcd':
es137x.c:598: warning: `x' might be used uninitialized in this function
PR: kern/35408
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/es137x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index ebcacc3..a79d543 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -595,7 +595,7 @@ static int es1371_rdcd(kobj_t obj, void *s, int addr) { int sl; - unsigned t, x; + unsigned t, x = 0; struct es_info *es = (struct es_info *)s; if (debug > 0) printf("rdcodec addr 0x%x ... ", addr); |