diff window/event.cc @ 43:01aa5ddf7dc8

A lot of very minor improvements (deleted some unused variables, and other things like that...)
author thib
date Tue, 24 Mar 2009 19:45:48 +0000
parents 223b71206888
children ed6c21dde840
line wrap: on
line diff
--- a/window/event.cc
+++ b/window/event.cc
@@ -35,8 +35,8 @@
 
 using namespace std;
 
-extern bool save_req = false, load_req = false, grpdump_req = false; //  scn2k/scn2k_impl.cc: キーボードからセーブ・ロードできるように
-extern bool pressAreq=false,pressFreq=false,pressDreq=false;
+bool save_req = false, load_req = false, grpdump_req = false; //  scn2k/scn2k_impl.cc: キーボードからセーブ・ロードできるように
+bool pressAreq=false,pressFreq=false,pressDreq=false;
 namespace Event {
 /* Impl: struct Event::Video */
 
@@ -532,7 +532,7 @@ bool Container::Exec(unsigned int time) 
 	ret = ret && pimpl_video->Exec();
 	ret = ret && pimpl_time->Exec(time);
 	int i; int mask = 1;
-	int new_button_pressed = pimpl_video->button_pressed;
+
 	for (i=0; i<BUTTON_MAX; i++) {
 		if (pimpl_video->button_released&mask) {
 			button_presscount[i]++;