summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-08-07 15:00:10 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-08-07 15:18:19 +0100
commit824bf92dadd5b498a83d09cb3a212b4de08b82eb (patch)
tree6766aafb0537b748a11687cdf8fa82bbb26016e8 /src/lib/eeze
parentbdd3e7e8ca01201298b6c130f8d0b498535b2892 (diff)
eeze: Remove unused var and related dead code.
Must be a leftover from older times. syspath never get set here. CID 1039463
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/eeze_disk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/eeze/eeze_disk.c b/src/lib/eeze/eeze_disk.c
index 80b0c31437..d28ad775ea 100644
--- a/src/lib/eeze/eeze_disk.c
+++ b/src/lib/eeze/eeze_disk.c
@@ -203,7 +203,7 @@ eeze_disk_new_from_mount(const char *mount_point)
203{ 203{
204 Eeze_Disk *disk = NULL; 204 Eeze_Disk *disk = NULL;
205 _udev_device *dev = NULL; 205 _udev_device *dev = NULL;
206 const char *syspath = NULL, *source, *uuid = NULL, *label = NULL, *devpath = NULL; 206 const char *source, *uuid = NULL, *label = NULL, *devpath = NULL;
207 207
208 EINA_SAFETY_ON_NULL_RETURN_VAL(mount_point, NULL); 208 EINA_SAFETY_ON_NULL_RETURN_VAL(mount_point, NULL);
209 209
@@ -261,8 +261,6 @@ error:
261 eina_stringshare_del(label); 261 eina_stringshare_del(label);
262 else if (devpath) 262 else if (devpath)
263 eina_stringshare_del(devpath); 263 eina_stringshare_del(devpath);
264 if (syspath)
265 eina_stringshare_del(syspath);
266 if (dev) 264 if (dev)
267 udev_device_unref(dev); 265 udev_device_unref(dev);
268 return NULL; 266 return NULL;