Small refactor in ada-lang.c:scan_discrim_bound
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 10 Sep 2015 15:48:47 +0000 (11:48 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 10 Sep 2015 15:48:47 +0000 (11:48 -0400)
commit5da1a4d34e730e0b4e2f034c81d22d5948a6ce67
treed4b2aaa8eb7eeddfc11f8df56bb476a9153cd3f8
parent108d56a48b0970a53e237af76440df4a75ff7329
Small refactor in ada-lang.c:scan_discrim_bound

Factor out common arithmetic operations for clarity.

gdb/ChangeLog:

* ada-lang.c (scan_discrim_bound): Factor out arithmetic
operations.
gdb/ChangeLog
gdb/ada-lang.c