Add missing va_end's after corresponding va_start's to cleanup state
Do some minor style(9) clean up in affected functions.
MFC after: 3 days
CID: 1018500-1018503
Reported by: Coverity
Sponsored by: EMC / Isilon Storage Division
Differential D6072
Add missing va_end's after corresponding va_start's to cleanup state ngie on Apr 23 2016, 6:18 AM. Authored by Tags None Referenced Files
Details
Add missing va_end's after corresponding va_start's to cleanup state Do some minor style(9) clean up in affected functions. MFC after: 3 days
Diff Detail
Event Timeline
Comment Actions
Comment Actions I'm fine with using (va_list *)NULL as a sentinel value here. I'm less excited about adding assert(3), just because assert(3) is usually kind of useless.
Comment Actions Remove asserts; they're inconsistent and will likely be compiled out, as noted by cem. TODO: fix up APIs to note requirements and be more graceful when provided bad input
|