diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-06-10 19:37:19 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2015-06-10 19:37:19 +0200 |
commit | 8847cac2f7ce6ff2c13fa611660c2dfc59c78272 (patch) | |
tree | 3cc6fdf6c40ffd762ba60785979c4c7b893aa52c /gdb/ChangeLog | |
parent | a48d0c12f893a922692492829f04189d9f216172 (diff) | |
download | gdb-8847cac2f7ce6ff2c13fa611660c2dfc59c78272.zip gdb-8847cac2f7ce6ff2c13fa611660c2dfc59c78272.tar.gz gdb-8847cac2f7ce6ff2c13fa611660c2dfc59c78272.tar.bz2 |
Code cleanup: Use explicit NULL comparison
gdb/ChangeLog
2015-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
Code cleanup.
* solib-target.c (library_list_start_list): Use explicit NULL
comparison.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83845f4..5b19052 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2015-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> + Code cleanup. + * solib-target.c (library_list_start_list): Use explicit NULL + comparison. + +2015-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> + * solib-target.c (library_list_start_list): Do not dereference variable version in its initialization. Make the VERSION check handle NULL. |