build: added path-track to build.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Tue, 7 Oct 2014 12:13:55 +0000 (15:13 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:18 +0000 (18:37 +0200)
Change-Id: I3ff542d084d20a518ddecc47baecd4d9a7576f7e

src/Makefile.am
src/plugins/system-controller/application-tracker/path-track.c

index c7b0aaa..1b6e597 100644 (file)
@@ -1611,6 +1611,7 @@ SYSTEMCTL_PLUGIN_SOURCES =                                             \
        $(SYSTEMCTL_DIR)/application/application.c                     \
        $(SYSTEMCTL_DIR)/application/scripting-application.c           \
        $(SYSTEMCTL_DIR)/application-tracker/application-tracker.c     \
+       $(SYSTEMCTL_DIR)/application-tracker/path-track.c              \
        $(SYSTEMCTL_DIR)/user/user.c                                   \
        $(SYSTEMCTL_DIR)/wayland/wayland.c                             \
        $(SYSTEMCTL_DIR)/wayland/output.c                              \
index 707a5d5..968ccbe 100644 (file)
@@ -55,7 +55,6 @@ static void path_changed(mrp_io_watch_t *wd, int fd, mrp_io_event_t events,
         }
 
         while (processed_bytes < read_bytes) {
-            char *filename = NULL;
 
             /* the kernel doesn't allow to read incomplete events */
             is = (struct inotify_event *) (buf + processed_bytes);