Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/dev Pull up revision 1.161 (requested by nakayama i...



details:   https://anonhg.NetBSD.org/src/rev/5080167731d8
branches:  netbsd-1-6
changeset: 530436:5080167731d8
user:      grant <grant%NetBSD.org@localhost>
date:      Tue Jun 24 09:42:04 2003 +0000

description:
Pull up revision 1.161 (requested by nakayama in ticket #1332):

fix unitialized variable. from simonb. OI

diffstat:

 sys/dev/audio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0622f336455f -r 5080167731d8 sys/dev/audio.c
--- a/sys/dev/audio.c   Tue Jun 24 09:39:52 2003 +0000
+++ b/sys/dev/audio.c   Tue Jun 24 09:42:04 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.155.4.4 2002/12/11 18:12:03 he Exp $       */
+/*     $NetBSD: audio.c,v 1.155.4.5 2003/06/24 09:42:04 grant Exp $    */
 
 /*
  * Copyright (c) 1991-1993 Regents of the University of California.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.155.4.4 2002/12/11 18:12:03 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.155.4.5 2003/06/24 09:42:04 grant Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -1421,7 +1421,7 @@
                        n -= nfill - 1;
                }
                while (n >= nfill) {
-                       int k;
+                       int k = nfill;
                        *p++ = auzero0;
                        while (--k > 0)
                                *p++ = auzero1;



Home | Main Index | Thread Index | Old Index