From: Peter Howkins Date: Thu, 15 Jan 2015 15:15:31 +0000 (+0000) Subject: dtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one X-Git-Tag: 2.2.3~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=24880e4e0543ccde97d680f965a90a7a6874d559;p=oweals%2Fcde.git dtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one --- diff --git a/cde/programs/dtfile/ModAttr.c b/cde/programs/dtfile/ModAttr.c index f86ca8fc..ad2c85d4 100644 --- a/cde/programs/dtfile/ModAttr.c +++ b/cde/programs/dtfile/ModAttr.c @@ -201,7 +201,7 @@ static void WriteResourceValues( char **name_list) ; static void FreeValues( ModAttrData *modAttr_data) ; -static XtCallbackProc OkCallback( +static void OkCallback( Widget w, ModAttrApply *apply_data, XtPointer call_data) ; @@ -1854,7 +1854,7 @@ FreeValues( * ************************************************************************/ -static XtCallbackProc +static void OkCallback( Widget w, ModAttrApply *apply_data, @@ -1873,9 +1873,9 @@ OkCallback( old = (ModAttrData *) old_dialog->data; if(RecheckFlag(NULL,w)) - return None; + return; else if(RecheckFlag(NULL,close)) - return None; + return; new_attr_data = (ModAttrData *) XtCalloc (1, sizeof (ModAttrData)); new_attr_data->displayed = True;