From c2a0f048423967f16af1651f97ed929d83cccf68 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Wed, 20 May 2009 10:04:23 +0000 Subject: =?UTF-8?q?=E2=80=A2=C2=A0removed=20unused=20variable=20'keyCode'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/CMTextView.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/CMTextView.m b/Source/CMTextView.m index 7489fe1c..09c5447d 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -304,7 +304,6 @@ YY_BUFFER_STATE yy_scan_string (const char *); NSString *charactersIgnMod = [theEvent charactersIgnoringModifiers]; unichar insertedCharacter = [characters characterAtIndex:0]; long curFlags = ([theEvent modifierFlags] & allFlags); - int keyCode = [theEvent keyCode]; // Note: switch(insertedCharacter) {} does not work instead use charactersIgnoringModifiers if([charactersIgnMod isEqualToString:@"c"]) // ^C copy as RTF -- cgit v1.2.3