Replace "if (attr)" with "if (attr != nullptr)".
authorAli Tamur <tamur@google.com>
Tue, 19 Nov 2019 03:22:05 +0000 (19:22 -0800)
committerAli Tamur <tamur@google.com>
Tue, 19 Nov 2019 19:37:53 +0000 (11:37 -0800)
commit435d3d88360d1ad9aac798f6bff7d7b5363efe3e
treefe7cb10388d8dd621bbf62deb478f29f0827c0b5
parentc9739b6a06730b65df135766dec4c4d14d78bd38
Replace "if (attr)" with "if (attr != nullptr)".

This is a cleanup patch in response to a reviewer comment on "Dwarf 5: Handle
debug_str_offsets" patch.
gdb/ChangeLog
gdb/dwarf2read.c