Re: [PATCH] tests: Don't increment variables inside an assert()

2015-07-10 Thread Bryce Harrington
On Fri, Jun 19, 2015 at 04:13:11PM -0700, Jon A. Cruz wrote: > On 06/19/2015 03:58 PM, Bryce Harrington wrote: > > Addresses this warning found by Denis Denisov: > > > > [tests/array-test.c:137]: (warning) Assert statement modifies 'i'. > > > > Signed-off-by: Bryce Harrington > > --- > > test

Re: [PATCH] tests: Don't increment variables inside an assert()

2015-06-19 Thread Jon A. Cruz
On 06/19/2015 03:58 PM, Bryce Harrington wrote: > Addresses this warning found by Denis Denisov: > > [tests/array-test.c:137]: (warning) Assert statement modifies 'i'. > > Signed-off-by: Bryce Harrington > --- > tests/array-test.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(

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

2015-06-19 Thread Bryce Harrington
Addresses this warning found by Denis Denisov: [tests/array-test.c:137]: (warning) Assert statement modifies 'i'. Signed-off-by: Bryce Harrington --- tests/array-test.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/array-test.c b/tests/array-test.c index 3