summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendmtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gvfsbackendmtp.c')
-rw-r--r--daemon/gvfsbackendmtp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index 42c2955e..d3c6daf2 100644
--- a/daemon/gvfsbackendmtp.c
+++ b/daemon/gvfsbackendmtp.c
@@ -139,6 +139,9 @@ static char *create_storage_name (const LIBMTP_devicestorage_t *storage)
or not. Since this function is called in several places, it is
safest to perform this check here, each time that storage name needs
to be created. */
+ /* TODO: The returned name is not unique if suffix-adding happens
+ to introduce a collision with another storage's unsuffixed
+ description; unlikely but possible. */
gboolean is_unique = TRUE;
const LIBMTP_devicestorage_t *tmp_storage;