libdthelp: resolve 46 compiler warnings

This commit is contained in:
Peter Howkins
2012-10-08 15:34:45 +01:00
parent c3c9abd86f
commit cd39eabb18
17 changed files with 45 additions and 43 deletions

View File

@@ -351,7 +351,7 @@ ScrollTimerCB (
if (*id != pDAS->scr_timer_id)
return;
pDAS->scr_timer_id = NULL;
pDAS->scr_timer_id = 0;
maxY = pDAS->maxYpos;
dispY = pDAS->firstVisible + pDAS->dispUseHeight;
@@ -604,7 +604,7 @@ _DtHelpCancelSelection(
if (pDAS->scr_timer_id)
{
XtRemoveTimeOut (pDAS->scr_timer_id);
pDAS->scr_timer_id = NULL;
pDAS->scr_timer_id = 0;
}
_DtHelpClearSelection (client_data);
}
@@ -1067,7 +1067,7 @@ _DtHelpEndSelectionCB (
if (pDAS->scr_timer_id)
{
XtRemoveTimeOut (pDAS->scr_timer_id);
pDAS->scr_timer_id = NULL;
pDAS->scr_timer_id = 0;
}
newX = callback->event->xbutton.x;
@@ -1140,7 +1140,7 @@ _DtHelpMouseMoveCB(
if (pDAS->scr_timer_id)
{
XtRemoveTimeOut (pDAS->scr_timer_id);
pDAS->scr_timer_id = NULL;
pDAS->scr_timer_id = 0;
}
newX = event->xmotion.x;