]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code/shec: replace 0 with nullptr when appropriate 57111/head
authorKefu Chai <tchaikov@gmail.com>
Sun, 28 Apr 2024 00:36:09 +0000 (08:36 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sun, 28 Apr 2024 00:56:54 +0000 (08:56 +0800)
commit49fa8d108632318d171325631803ab00a86bdb74
treeba1dc4b85fe066f400ff2b333dddfb8f00d38d04
parent3067e9f133f954b642fdf21114a79edb58590948
erasure-code/shec: replace 0 with nullptr when appropriate

0 fails to send the message to human readers that the variable is
a pointer, but nullptr does. for improving the readability, let's
use nullptr when the variable in question is a pointer.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/erasure-code/shec/ErasureCodeShecTableCache.cc
src/erasure-code/shec/ErasureCodeShecTableCache.h