Menu

#2224 Unnecessary NULL check in httpAdapter

Code_Cleanup
pending
sfcb (1090)
3
2011-06-21
2011-06-20
No

In httpAdapter.c:writeResponse(), we check for the existence of variable sb before the commWrite(). However, sb is just a cast of rs.segments[i].txt which is checked for in an above if statement.

Discussion

  • Chris Buccella

    Chris Buccella - 2011-06-21

    committed to CVS HEAD and git master

     
  • Chris Buccella

    Chris Buccella - 2011-06-21
    • status: open --> pending
     

Log in to post a comment.