Don't cast away const in find_and_open_source
authorTom Tromey <tromey@adacore.com>
Fri, 17 May 2019 14:42:10 +0000 (08:42 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 17 May 2019 16:16:40 +0000 (10:16 -0600)
commit33d0e35aed8870ad317af7eeca5274cf4fd87d15
tree628739a434dc0bccf8e121f44e514976f66eb0df
parenta45575b0356d671df2c55fcfc66de719b6b2e5e5
Don't cast away const in find_and_open_source

find_and_open_source casts away const, but hasn't needed to in a
while.  This removes the cast and a strangely hostile comment.

gdb/ChangeLog
2019-05-17  Tom Tromey  <tromey@adacore.com>

* source.c (find_and_open_source): Remove cast.
gdb/ChangeLog
gdb/source.c