stefan pushed a commit to branch master.
commit 824bf92dadd5b498a83d09cb3a212b4de08b82eb
Author: Stefan Schmidt <[email protected]>
Date: Wed Aug 7 15:00:10 2013 +0100
eeze: Remove unused var and related dead code.
Must be a leftover from older times. syspath never get set here.
CID 1039463
---
src/lib/eeze/eeze_disk.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/lib/eeze/eeze_disk.c b/src/lib/eeze/eeze_disk.c
index 80b0c31..d28ad77 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)
{
Eeze_Disk *disk = NULL;
_udev_device *dev = NULL;
- const char *syspath = NULL, *source, *uuid = NULL, *label = NULL, *devpath
= NULL;
+ const char *source, *uuid = NULL, *label = NULL, *devpath = NULL;
EINA_SAFETY_ON_NULL_RETURN_VAL(mount_point, NULL);
@@ -261,8 +261,6 @@ error:
eina_stringshare_del(label);
else if (devpath)
eina_stringshare_del(devpath);
- if (syspath)
- eina_stringshare_del(syspath);
if (dev)
udev_device_unref(dev);
return NULL;
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk