From bd5470af2364a7f7305ee4dc5e4adb27d6f8f876 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 21 May 2001 07:24:57 +0000 Subject: Avoided some warnings. --- src/LexEiffel.cxx | 3 +++ src/ScintillaBase.cxx | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexEiffel.cxx b/src/LexEiffel.cxx index 6109ca4d5..68572db65 100644 --- a/src/LexEiffel.cxx +++ b/src/LexEiffel.cxx @@ -48,6 +48,9 @@ class LexContext { Accessor &styler; int lengthDoc; int currentPos; + LexContext& operator=(const LexContext&) { + return *this; + } public: int state; char ch; diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 2840e08fb..db8040340 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -466,7 +466,6 @@ sptr_t ScintillaBase::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lPara case SCI_AUTOCGETAUTOHIDE: return ac.autoHide; - break; case SCI_CALLTIPSHOW: { AutoCompleteCancel(); -- cgit v1.2.3