mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 88382
This commit is contained in:
parent
a0edcdcc42
commit
3af957e308
1 changed files with 3 additions and 1 deletions
|
@ -213,7 +213,7 @@ rfp_apply_proc(Widget w, XtPointer client_data, XtPointer cbs) {
|
||||||
RFP *rfp = (RFP *)client_data;
|
RFP *rfp = (RFP *)client_data;
|
||||||
char *str, buf[128];
|
char *str, buf[128];
|
||||||
XmString xmstr;
|
XmString xmstr;
|
||||||
Calendar *c = rfp->cal;
|
Calendar *c;
|
||||||
Props_pu *pu = (Props_pu *)c->properties_pu;
|
Props_pu *pu = (Props_pu *)c->properties_pu;
|
||||||
Repeat_scope_menu_op op = REPEAT_DAYS;
|
Repeat_scope_menu_op op = REPEAT_DAYS;
|
||||||
char *repeat_str;
|
char *repeat_str;
|
||||||
|
@ -221,6 +221,8 @@ rfp_apply_proc(Widget w, XtPointer client_data, XtPointer cbs) {
|
||||||
if (!rfp)
|
if (!rfp)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
c = rfp->cal;
|
||||||
|
|
||||||
str = XmTextGetString(rfp->repeat_popup_text);
|
str = XmTextGetString(rfp->repeat_popup_text);
|
||||||
|
|
||||||
if (!string_is_number(str)) {
|
if (!string_is_number(str)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue