diff options
author | Philip Langdale <philipl@overt.org> | 2013-05-01 15:33:02 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2013-05-01 15:35:28 -0700 |
commit | 238a92496f5ab165b52f90d414379525cb262ee1 (patch) | |
tree | f007fcbcdc13848a5e58ee009d3d0a70c84cf896 | |
parent | 341d17c7a78a7ce001d51f665763c33570ccec65 (diff) | |
download | gvfs-238a92496f5ab165b52f90d414379525cb262ee1.tar.gz |
MTP: Fix compilation warning.
The add_cache_entry helper's signature said it returned the CacheEntry
but it doesn't.
https://bugzilla.gnome.org/show_bug.cgi?id=699424
-rw-r--r-- | daemon/gvfsbackendmtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c index 48f6b8ba..cbdbb02a 100644 --- a/daemon/gvfsbackendmtp.c +++ b/daemon/gvfsbackendmtp.c @@ -144,7 +144,7 @@ emit_delete_event (gpointer key, * Cache Helpers ************************************************/ -static CacheEntry * +static void add_cache_entry (GVfsBackendMtp *backend, char *path, uint32_t storage, @@ -291,7 +291,6 @@ remove_cache_entry (GVfsBackendMtp *backend, const char *path) { DEBUG ("(III) remove_cache_entry: %s", path); - //g_hash_table_remove (backend->file_cache, path); g_hash_table_foreach_remove (backend->file_cache, remove_cache_entry_by_prefix, (gpointer) path); |