Skip to content
Commit d4aac678 authored by Richard Smith's avatar Richard Smith
Browse files

Make the check for whether we should memset(0) an aggregate

initialization a little smarter.

Look through casts that preserve zero-ness when determining if an
initializer is zero, so that we can handle cases like an {0} initializer
whose corresponding field is a type other than 'int'.
parent 5adb3a6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment