From 24880e4e0543ccde97d680f965a90a7a6874d559 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Thu, 15 Jan 2015 15:15:31 +0000 Subject: [PATCH] dtfile: Resolve CID 87776. OkCallback is of type XtCallbackProc, it doesn't return one --- cde/programs/dtfile/ModAttr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.25.1