Skip to content

l_strv_append() test and minor patch

Ossama Othman ell 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2unit: Add test for l_strv_append().unit/test-string.c+19 -00 replies
2/2strv: Remove unnecessary post-increment.ell/strv.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] l_strv_append() test and minor patch

The l_strv_append() function needlessly post-incremented an array index value prior to returning. Drop the post-increment, and a l_strv_append() unit test.

Ossama Othman (2):
unit: Add test for l_strv_append().
strv: Remove unnecessary post-increment.

 ell/strv.c         |  2 +-
 unit/test-string.c | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1