Squash some warnings

This commit is contained in:
ridiculousfish 2012-02-17 15:58:02 -08:00
parent 7b3d670e23
commit ac0b97a571
2 changed files with 2 additions and 1 deletions

View file

@ -1471,7 +1471,6 @@ void env_pop()
} }
} }
/** /**
Function used with to insert keys of one table into a set::set<wcstring> Function used with to insert keys of one table into a set::set<wcstring>
*/ */

View file

@ -221,6 +221,7 @@ wcstring event_get_desc( const event_t *e )
return result; return result;
} }
#if 0
static void show_all_handlers(void) { static void show_all_handlers(void) {
puts("event handlers:"); puts("event handlers:");
for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); iter++) { for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); iter++) {
@ -229,6 +230,7 @@ static void show_all_handlers(void) {
printf(" handler now %ls\n", tmp.c_str()); printf(" handler now %ls\n", tmp.c_str());
} }
} }
#endif
void event_add_handler( event_t *event ) void event_add_handler( event_t *event )
{ {