From c8b9bf09b8422d92506c32b4ff69d85ec5caba1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Sun, 8 Oct 2017 23:28:01 +0300 Subject: [PATCH] Fix typo in readwritesplit comments The comment about the static variable being returned as a reference was missing the `return` word. --- server/modules/routing/readwritesplit/readwritesplit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/readwritesplit/readwritesplit.cc b/server/modules/routing/readwritesplit/readwritesplit.cc index 8cc1d8c0b..b84acd831 100644 --- a/server/modules/routing/readwritesplit/readwritesplit.cc +++ b/server/modules/routing/readwritesplit/readwritesplit.cc @@ -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; }