Fix typo in readwritesplit comments
The comment about the static variable being returned as a reference was missing the `return` word.
This commit is contained in:
parent
621444e5e4
commit
1c329b6041
@ -125,7 +125,7 @@ static inline SRWBackend& get_backend_from_dcb(RWSplitSession *rses, DCB *dcb)
|
||||
MXS_ALERT("No reference to DCB %p found, aborting.", dcb);
|
||||
raise(SIGABRT);
|
||||
|
||||
// To make the compiler happy, we a reference to a static value.
|
||||
// To make the compiler happy, we return a reference to a static value.
|
||||
static SRWBackend this_should_not_happen;
|
||||
return this_should_not_happen;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user