cvs commit: src/sys/dev/sound/usb uaudio.c

Ariff Abdullah ariff at FreeBSD.org
Tue Apr 4 17:34:11 UTC 2006


ariff       2006-04-04 17:34:10 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/usb    uaudio.c 
  Log:
  MFC (revision 1.20)
  Convert NULL checks into KASSERT (and move them before the first
  dereferencing) since a NULL value would be a bug here.
  
  Note: Both affected functions look very similar. A refactoring may
  be beneficial.
  
  CID:            483, 485
  Found with:     Coverity Prevent(tm)
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.14.2.2  +11 -10    src/sys/dev/sound/usb/uaudio.c


More information about the cvs-src mailing list