From: zhuwei Date: Mon, 30 Jun 2025 03:38:38 +0000 (+0800) Subject: src/common: fix missing return X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0897b4e44a0252cd332129c0640e26a36d97e44;p=ceph.git src/common: fix missing return Found an exit path from function with non-void return type that has missing return statement Signed-off-by: Zhu Wei --- diff --git a/src/common/blkdev.cc b/src/common/blkdev.cc index 315e4f5e964d..d65e5d5420ef 100644 --- a/src/common/blkdev.cc +++ b/src/common/blkdev.cc @@ -807,6 +807,7 @@ int BlkDev::partition(char *partition, size_t max) const int BlkDev::wholedisk(char *device, size_t max) const { + return -EOPNOTSUPP; }