1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 88978

This commit is contained in:
Peter Howkins 2018-07-13 16:31:21 +01:00
parent 6d6f5098c5
commit 89427d0972

View file

@ -88,7 +88,6 @@ dssw_get_non_times(DSSW *dssw, time_t t) {
get_date_from_widget(t, dssw->date_text, ot, st));
str = XmTextGetString(dssw->what_text);
strcpy(dssw->what_val, str);
snprintf(dssw->what_val, sizeof(dssw->what_val), "%s", str);
XtFree(str);
}