Skip to content
Commit c2547c70 authored by Bryce Harrington's avatar Bryce Harrington
Browse files

tests: Don't increment variables inside an assert()



Addresses this warning found by Denis Denisov:

  [tests/array-test.c:137]: (warning) Assert statement modifies 'i'.

Signed-off-by: default avatarBryce Harrington <bryce@osg.samsung.com>
Reviewed-by: default avatarJon A. Cruz <jonc@osg.samsung.com>
parent ab254f7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment