[gvfs] MTP: Fix compilation warning.
- From: Philip Langdale <philipl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] MTP: Fix compilation warning.
- Date: Wed, 1 May 2013 22:35:42 +0000 (UTC)
commit 238a92496f5ab165b52f90d414379525cb262ee1
Author: Philip Langdale <philipl overt org>
Date: Wed May 1 15:33:02 2013 -0700
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
daemon/gvfsbackendmtp.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index 48f6b8b..cbdbb02 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]