aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-05-21 07:24:57 +0000
committernyamatongwe <unknown>2001-05-21 07:24:57 +0000
commit877f10c2fc4bb89b4755b9cbc82977a92070c849 (patch)
treed906c4ca2e7eb7de314129e44a8f6300a9a4f3b6 /src
parent6af884247589ba62eeb3801293f829faa44d20fd (diff)
downloadscintilla-mirror-877f10c2fc4bb89b4755b9cbc82977a92070c849.tar.gz
Avoided some warnings.
Diffstat (limited to 'src')
-rw-r--r--src/LexEiffel.cxx3
-rw-r--r--src/ScintillaBase.cxx1
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();