This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: v4l2-sysfs-path: fix compile warnings
Author:  Hans Verkuil <hverk...@xs4all.nl>
Date:    Fri Dec 31 16:12:11 2010 +0100

v4l2-sysfs-path.c: In function ‘seek_name’:
v4l2-sysfs-path.c:148: warning: unused variable ‘minor’
v4l2-sysfs-path.c:148: warning: unused variable ‘major’
v4l2-sysfs-path.c:145: warning: unused variable ‘st’

Signed-off-by: Hans Verkuil <hverk...@xs4all.nl>

 utils/v4l2-sysfs-path/v4l2-sysfs-path.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=095a13f9bdf570b74d9bd81ac28b7f3cc9e68ec5

diff --git a/utils/v4l2-sysfs-path/v4l2-sysfs-path.c 
b/utils/v4l2-sysfs-path/v4l2-sysfs-path.c
index b43deda..a2f4d53 100644
--- a/utils/v4l2-sysfs-path/v4l2-sysfs-path.c
+++ b/utils/v4l2-sysfs-path/v4l2-sysfs-path.c
@@ -142,10 +142,8 @@ static char *seek_name(char *path, char *match)
 {
        DIR             *dir;
        struct dirent   *entry;
-       struct stat     st;
        char            *p;
        static char     name[1024];
-       int             major, minor;
 
        dir = opendir(path);
        if (!dir)

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to