mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 87364
This commit is contained in:
parent
8e11140662
commit
dfa296e34e
1 changed files with 1 additions and 1 deletions
|
@ -1690,7 +1690,7 @@ add_to_gaccess_list(
|
|||
while (ge->access_data && cnt <= ge->access_data->count) {
|
||||
new_data = (Access_data *)
|
||||
CmDataListGetData(ge->access_data, cnt);
|
||||
if (strcmp(new_data->name, name) == 0) {
|
||||
if (new_data && strcmp(new_data->name, name) == 0) {
|
||||
XmListDeselectPos(ge->access_list, cnt);
|
||||
if (select_val)
|
||||
XmListSelectPos(ge->access_list, cnt, True);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue