diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-02-21 11:48:49 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-02-21 11:48:49 -0500 |
commit | 1b90b1390679473dd84416e462afa1587769ceec (patch) | |
tree | 9982f3cbcb9a359802dc572df811590e2db9fd55 /bfd/aout-cris.c | |
parent | 2039d74e780db6659c87cd3c426d526615cfe703 (diff) | |
download | gdb-1b90b1390679473dd84416e462afa1587769ceec.zip gdb-1b90b1390679473dd84416e462afa1587769ceec.tar.gz gdb-1b90b1390679473dd84416e462afa1587769ceec.tar.bz2 |
Default initialize enum flags to 0
... so that we don't need to do it manually, and potentially forget.
For example, this allows to do:
my_flags flags;
...
flags |= some_flag;
gdb/ChangeLog:
* common/enum-flags.h (enum_flags::enum_flags): Initialize
m_enum_value to 0 in default constructor.
Diffstat (limited to 'bfd/aout-cris.c')
0 files changed, 0 insertions, 0 deletions