From 4c32692b4acfb02d8ef9ebbe0b999a2a59bc2fd7 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Sun, 18 Apr 2010 17:34:27 -0700 Subject: xts5: Fix "unused variable" warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are still two left: XDrawRectangle/XDrawRectangle.c:4211: warning: unused variable ‘jssav’ XDrawRectangles/XDrawRectangles.c:4292: warning: unused variable ‘jssav’ These are a little harder to fix because the declaration is generated but jssav is only used in some of the tests. Signed-off-by: Aaron Plattner Acked-by: Peter Hutterer --- xts5/Xlib7/XcmsPrefixOfFormat.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'xts5/Xlib7/XcmsPrefixOfFormat.m') diff --git a/xts5/Xlib7/XcmsPrefixOfFormat.m b/xts5/Xlib7/XcmsPrefixOfFormat.m index 8f602fbe..daf912fa 100644 --- a/xts5/Xlib7/XcmsPrefixOfFormat.m +++ b/xts5/Xlib7/XcmsPrefixOfFormat.m @@ -111,7 +111,6 @@ XcmsColorFormat format ; extern int chkflg; extern int signal_status(); extern int unexp_err(); - extern char *svc_user_arg; extern char *strcpy(); /****** @@ -119,14 +118,11 @@ XcmsColorFormat format ; ******/ char fmtstr[256], *call_string; union msglst fmt_lst[1]; - int skip_pixcheck; int ss_status, /* save stat return status */ stat_status, /* check stat return status */ - setup_status, - cleanup_status, - i1; + cleanup_status; char *svc_ret_value; -- cgit v1.2.3