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:
Markus Mäkelä 2017-10-08 23:28:01 +03:00 committed by Johan Wikman
parent 621444e5e4
commit 1c329b6041

View File

@ -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;
}