diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-07 19:12:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-07 19:12:23 -0700 |
commit | 839305bac98856a2bb1d96691e4dcf49db229f90 (patch) | |
tree | 50e28e4652e0be61fedf9fe01ab97e617a7dacfd /Xprint | |
parent | 7a40ac2585028860730ffcd333eb3fe9de63680c (diff) |
Remove unused variables from Xprint/attributes.c
Diffstat (limited to 'Xprint')
-rw-r--r-- | Xprint/attributes.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Xprint/attributes.c b/Xprint/attributes.c index 60f6803a3..16724e4f8 100644 --- a/Xprint/attributes.c +++ b/Xprint/attributes.c @@ -342,7 +342,7 @@ BuildPrinterAttrs( if(systemAttributes.printers != (XrmDatabase)NULL) { - char *dirName, *fileName; + char *fileName; XrmDatabase modelDB = (XrmDatabase)NULL; XrmName xrm_name[5], xrm_class[2]; XrmRepresentation rep_type; @@ -642,7 +642,6 @@ XpGetOneAttribute( { ContextAttrPtr pCtxtAttrs; XrmDatabase db = (XrmDatabase)NULL; - char *retVal; XrmName xrm_name[3]; XrmRepresentation rep_type; XrmValue value; @@ -895,7 +894,6 @@ XpGetAttributes( { ContextAttrPtr pCtxtAttrs; XrmDatabase db = (XrmDatabase)NULL; - char *retVal; StringDbStruct enumStruct; XrmQuark empty = NULLQUARK; @@ -1536,8 +1534,8 @@ VectorizeCommand( char ***pVector, XpContextPtr pContext) { - char *cmdName, *curTok; - int i, numChars; + char *cmdName; + int numChars; if(command == (char *)NULL) return (char *)NULL; @@ -1563,7 +1561,7 @@ XpSubmitJob(fileName, pContext) char *fileName; XpContextPtr pContext; { - char **vector, *cmdNam, *cmdOpt, *command, *userName; + char **vector, *cmdNam, *command, *userName; int i; command = XpGetOneAttribute(pContext, XPPrinterAttr, "xp-spooler-command"); @@ -1689,7 +1687,6 @@ XpGetTrayMediumFromContext(XpContextPtr pCon, { char *defMedium, *defTray; char *t, *m; - char *pS, *pE, *pLast; defMedium = XpGetOneAttribute( pCon, XPPageAttr, "default-medium" ); |