mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
libDtPrint: Resolve 9 -Wunused-variable warnings.
This commit is contained in:
parent
21feacd159
commit
a10520c43c
3 changed files with 1 additions and 11 deletions
|
@ -397,7 +397,6 @@ _DtPrintHdrFtrFrameMenuWidgets(
|
|||
{
|
||||
int i;
|
||||
DtpoHdrFtrFrame *info;
|
||||
Widget widget = NULL;
|
||||
|
||||
if (frame == NULL) return;
|
||||
|
||||
|
@ -604,7 +603,6 @@ _DtPrintDestroyMarginFrameCB(
|
|||
)
|
||||
{
|
||||
DtpoHdrFtrFrame *info = (DtpoHdrFtrFrame *) client_data;
|
||||
Widget widget;
|
||||
|
||||
if (info == NULL) return;
|
||||
XtFree((char*) info);
|
||||
|
@ -630,7 +628,6 @@ _DtPrintCreateMarginFrame(
|
|||
Arg args[16];
|
||||
int n;
|
||||
XmString xms;
|
||||
int i;
|
||||
|
||||
info = (DtpoMarginFrame *) XtMalloc( sizeof(DtpoMarginFrame) );
|
||||
|
||||
|
|
|
@ -1822,7 +1822,7 @@ Initialize(
|
|||
Cardinal *num_args)
|
||||
{
|
||||
DtPrintSetupBoxWidget new_w = (DtPrintSetupBoxWidget) nw ;
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Validate the Print Setup Mode
|
||||
*/
|
||||
|
@ -2561,7 +2561,6 @@ SetValues(
|
|||
Cardinal *num_args)
|
||||
{
|
||||
DtPrintSetupBoxWidget current = (DtPrintSetupBoxWidget) cw ;
|
||||
DtPrintSetupBoxWidget request = (DtPrintSetupBoxWidget) rw ;
|
||||
DtPrintSetupBoxWidget new_w = (DtPrintSetupBoxWidget) nw ;
|
||||
Boolean need_layout = False;
|
||||
|
||||
|
@ -3042,7 +3041,6 @@ UpdatePrinterNameCallback(
|
|||
XtPointer client_data,
|
||||
XtPointer call_data)
|
||||
{
|
||||
XmComboBoxCallbackStruct* callback = (XmComboBoxCallbackStruct*)call_data;
|
||||
DtPrintSetupBoxWidget psub = (DtPrintSetupBoxWidget)client_data;
|
||||
|
||||
if(PSUB_TimeoutId(psub) != (XtIntervalId)NULL)
|
||||
|
|
|
@ -1433,10 +1433,6 @@ static void PresentHelp(
|
|||
DtPrintDefaultProcData* dpd = &PSUB_DefaultProcData(w);
|
||||
Widget wmshell_ancestor;
|
||||
Widget dialog_shell;
|
||||
|
||||
char* hv = 0;
|
||||
char* lid = 0;
|
||||
|
||||
|
||||
wmshell_ancestor = GetWMShellAncestor(w);
|
||||
|
||||
|
@ -1665,7 +1661,6 @@ SelectPrinterCB(
|
|||
(XmSelectionBoxCallbackStruct*)call_data;
|
||||
Widget psub = (Widget)client_data;
|
||||
DtPrintDefaultProcData* dpd = &PSUB_DefaultProcData(psub);
|
||||
int i;
|
||||
String printer_spec;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue