mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Squash some warnings
This commit is contained in:
parent
7b3d670e23
commit
ac0b97a571
2 changed files with 2 additions and 1 deletions
1
env.cpp
1
env.cpp
|
@ -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>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue