Ethumb: Fix clang warning
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 10:35:48 +0000 (19:35 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 11:11:02 +0000 (20:11 +0900)
Unused function.......

src/bin/ethumb_client/ethumbd.c

index 510a7b4fb41e8544e51d4a56c2589ace75308497..3a866794bbe00cbdf8208b851773743d85af0095 100644 (file)
@@ -878,17 +878,6 @@ _ethumb_table_append(Ethumbd *ed)
    return i;
 }
 
-static inline int
-_get_idx_for_path(const char *path)
-{
-   int i;
-   int n;
-   n = sscanf(path, "/org/enlightenment/Ethumb/%d", &i);
-   if (!n)
-     return -1;
-   return i;
-}
-
 static void _name_owner_changed_cb(void *context, const char *bus, const char *old_id, const char *new_id);
 
 static void