Fix Coverity #343008, Side affect in assertion
authorJustin Chadwell <justin.chadwell@arm.com>
Tue, 23 Jul 2019 08:48:38 +0000 (09:48 +0100)
committerJustin Chadwell <justin.chadwell@arm.com>
Tue, 6 Aug 2019 12:06:03 +0000 (13:06 +0100)
commit4249e8b94fde3dc41e867563f13b21f6b8296509
tree883d66eb96192395a5f0c83f2a3b96f405ef8a41
parentdbff52633a6edb8f69a69fc7040a93ff388083a1
Fix Coverity #343008, Side affect in assertion

This patch simply splits off the increment of next_xlat into a separate
statement to ensure consistent behaviour if the assert was to ever be
removed.

Change-Id: I827f601ccea55f4da9442048419c9b8cc0c5d22e
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
lib/xlat_tables/aarch32/nonlpae_tables.c