diff options
author | nyamatongwe <unknown> | 2001-05-21 07:24:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-05-21 07:24:57 +0000 |
commit | 877f10c2fc4bb89b4755b9cbc82977a92070c849 (patch) | |
tree | d906c4ca2e7eb7de314129e44a8f6300a9a4f3b6 /src | |
parent | 6af884247589ba62eeb3801293f829faa44d20fd (diff) | |
download | scintilla-mirror-877f10c2fc4bb89b4755b9cbc82977a92070c849.tar.gz |
Avoided some warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexEiffel.cxx | 3 | ||||
-rw-r--r-- | src/ScintillaBase.cxx | 1 |
2 files changed, 3 insertions, 1 deletions
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(); |