Skip to content

ccli: Two small fixes for ccli

Ammar Faizi linux-trace-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ccli: cache: Fix -Wuninitialized warningsrc/cache.c+1 -20 replies
2/2ccli: commands: Fix optimized `strlen()` callssrc/ccli-local.h src/commands.c+2 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAlviro Iskandar Setiawan
1/2Co-authored-by
2/2Co-authored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ccli: Two small fixes for ccli

Hi Steve,

Alviro and I found two small issues in the ccli code.

The first one is a warning about uninitialized variable in the cache code. The second one is an optimization issue found when clang warns about unused return value of strlen() calls.

Fix them.

Ammar Faizi (2):
ccli: cache: Fix -Wuninitialized warning
ccli: commands: Fix optimized strlen() calls

 src/cache.c      | 3 +--
 src/ccli-local.h | 1 +
 src/commands.c   | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

base-commit: 418ad6a341a5ab6c21be666565d62a878aa3bd18

Signature · 1 line
Ammar Faizi