value_maybe_namespace_elt: Remove unnecessary test of result != NULL.
authorDoug Evans <xdje42@gmail.com>
Sat, 13 Dec 2014 07:25:46 +0000 (23:25 -0800)
committerDoug Evans <xdje42@gmail.com>
Sat, 13 Dec 2014 07:25:46 +0000 (23:25 -0800)
commitae6a105d22fb603dbfb956bbcedf9ae469323d55
tree66e9b8be45244d096bbfdbb4314951f82fb2154d
parent59da4d04cbce4d4209f7e88f8fc3532ef289a99e
value_maybe_namespace_elt: Remove unnecessary test of result != NULL.

Both allocate_value and value_of_variable are guaranteed to return non-NULL.

gdb/ChangeLog:

* valops.c (value_maybe_namespace_elt): Remove unnecessary test of
result != NULL.
gdb/ChangeLog
gdb/valops.c