Skip to contentSkip to conversation

master - cleanup: remove unused variable

PATCH Zdenek Kabelac 1 participant 1 message Dec 12, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fd0068a66ee8f8ad03ac0c86b9ab3f6a8a368ac9
Commit:        fd0068a66ee8f8ad03ac0c86b9ab3f6a8a368ac9
Parent:        aefab64e690cb5fbbd28a07d27a4f510d8aca32b
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Dec 12 13:59:39 2013 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Dec 12 13:59:39 2013 +0100

cleanup: remove unused variable

Recent commit made this variable unused

---
 lib/device/dev-cache.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
lib/device/dev-cache.c +0 -1
index fabdcbb..5d26d41 100644
@@ -594,7 +594,6 @@ static int _insert(const char *path, const struct stat *info,
 		   int rec, int check_with_udev_db)
 {
 	struct stat tinfo;
-	int r = 0;
 
 	if (!info) {
 		if (stat(path, &tinfo) < 0) {