C-style: simplify setup of validation-expression tables.
authorAdriaan de Groot <groot@kde.org>
Tue, 22 Aug 2017 07:47:08 +0000 (09:47 +0200)
committerAdriaan de Groot <groot@kde.org>
Tue, 22 Aug 2017 07:47:08 +0000 (09:47 +0200)
commitdab6143cba075ccd6541efc83ce7d5e9a3517bce
treed127367fa07b3f955f6c26a9b013bbf1d4357595
parent91f79cd82224fc605eaa7bc2e7c1943f4a7654b0
C-style: simplify setup of validation-expression tables.

 - original code had UB due to lack of sequence point in the assignment
   of i++ to an expression indexed by i.
src/validate.c