mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Don't dereference an uninitialised pointer
This was an incorrect fix in "dtcm: Coverity 88382".
This commit is contained in:
parent
a97ab71059
commit
162c88b6ea
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,7 @@ rfp_apply_proc(Widget w, XtPointer client_data, XtPointer cbs) {
|
||||||
char *str, buf[128];
|
char *str, buf[128];
|
||||||
XmString xmstr;
|
XmString xmstr;
|
||||||
Calendar *c;
|
Calendar *c;
|
||||||
Props_pu *pu = (Props_pu *)c->properties_pu;
|
Props_pu *pu;
|
||||||
Repeat_scope_menu_op op = REPEAT_DAYS;
|
Repeat_scope_menu_op op = REPEAT_DAYS;
|
||||||
char *repeat_str;
|
char *repeat_str;
|
||||||
|
|
||||||
|
@ -222,6 +222,7 @@ rfp_apply_proc(Widget w, XtPointer client_data, XtPointer cbs) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
c = rfp->cal;
|
c = rfp->cal;
|
||||||
|
pu = (Props_pu *)c->properties_pu;
|
||||||
|
|
||||||
str = XmTextGetString(rfp->repeat_popup_text);
|
str = XmTextGetString(rfp->repeat_popup_text);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue