auth.c: In function `DefineSelf':
auth.c:1045: warning: unused variable `n'
error.c: In function `Debug':
error.c:116: warning: unused variable `buf'

Signed-off-by: Alan Coopersmith <[email protected]>
---
 xdm/auth.c  |    1 -
 xdm/error.c |    2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/xdm/auth.c b/xdm/auth.c
index ed3d891..63cd15e 100644
--- a/xdm/auth.c
+++ b/xdm/auth.c
@@ -1042,7 +1042,6 @@ DefineSelf (int fd, FILE *file, Xauth *auth)
     int                family;
     register ifr_type  *ifr;
 #    ifdef USE_SIOCGLIFCONF
-    int                        n;
     void *             bufptr = buf;
     size_t             buflen = sizeof(buf);
     struct lifconf     ifc;
diff --git a/xdm/error.c b/xdm/error.c
index d1bd16e..198053f 100644
--- a/xdm/error.c
+++ b/xdm/error.c
@@ -113,8 +113,6 @@ LogOutOfMem (const char * fmt, ...)
 void
 Debug (const char * fmt, ...)
 {
-    char buf[1024];
-
     if (debugLevel > 0)
     {
        LogVarArgsWrite(fmt);
-- 
1.7.3.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to