Menu

#10 Splint gets initialization wrong with union type

open
nobody
None
5
2010-04-14
2010-04-14
Daniel Baum
No

In the attached file, Splint reports a warning "An rvalue is used that may not be initialized to a value on some execution path. (Use -usedef to inhibit warning)" even though this is not the case.

Discussion

  • Daniel Baum

    Daniel Baum - 2010-04-14

    example file to recreate issue

     
  • Nobody/Anonymous

    This is a false positive.

     

Log in to post a comment.