[tracker/drop-inotify: 23/24] libtracker-miner: don't use default case in switch
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/drop-inotify: 23/24] libtracker-miner: don't use default case in switch
- Date: Thu, 8 Jul 2010 09:16:02 +0000 (UTC)
commit efecb746ae1e0d8774bb892e09f6074c2c6244fd
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed Jul 7 18:02:57 2010 +0200
libtracker-miner: don't use default case in switch
src/libtracker-miner/tracker-monitor.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index eca2032..6aa00a2 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -656,7 +656,10 @@ emit_signal_for_event (TrackerMonitor *monitor,
event_data->other_file);
}
break;
- default:
+
+ case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
+ case G_FILE_MONITOR_EVENT_UNMOUNTED:
+ /* Do nothing */
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]