Project

General

Profile

Actions

Bug #46612

closed

mds: error: return-statement with no value, in function returning 'bool' [-fpermissive]

Added by Nathan Cutler almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

beb12fa25315153e1a06a0104883de89776438a6 added an ALLOW_MESSAGES_FROM macro to src/mds/MDSRank.cc - this macro contains a naked return statement

(The same commit added a very similar ALLOW_MESSAGE_FROM macro to src/mds/MDSDaemon.cc - in this case, the return statement is "return true;")

Actions

Also available in: Atom PDF