Bug 126223

Summary: [patch] Unused `error' variable in kthread_add()
Product: Base System Reporter: Mateusz Guzik <mjguzik>
Component: kernAssignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Mateusz Guzik 2008-08-03 20:00:06 UTC
Variable `error' is declared and set to 0, but not used later.

Fix: Patch attached with submission follows:
Comment 1 dfilter service freebsd_committer freebsd_triage 2008-08-03 22:07:45 UTC
antoine     2008-08-03 21:07:19 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_kthread.c 
  Log:
  SVN rev 181263 on 2008-08-03 21:07:19Z by antoine
  
  Kill a dead variable
  
  PR:             126223
  Submitted by:   Mateusz Guzik
  
  Revision  Changes    Path
  1.47      +0 -2      src/sys/kern/kern_kthread.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2008-08-03 22:10:59 UTC
State Changed
From-To: open->closed

Patch committed, thanks for the report! 


Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2008-08-03 22:10:59 UTC
Responsible Changed
From-To: freebsd-bugs->antoine

Patch committed, thanks for the report!