Fix ARI violation in ada_tasks_inferior_data_sniffer.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 28 Feb 2012 16:30:42 +0000 (16:30 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 28 Feb 2012 16:30:42 +0000 (16:30 +0000)
commitd4cd3da9f398080483b482e1aa5b07578697f438
treeff306e0777860522f21b1eb8f2aabcd509497dc9
parent7964b62a371300465a2bc8295cc179b7831a1e24
Fix ARI violation in ada_tasks_inferior_data_sniffer.

This patch removes some variable assignments inside condition
expressions.

gdb/ChangeLog:

        * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to
        avoid variable assignments inside condition.
gdb/ChangeLog
gdb/ada-tasks.c