mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtstyle: Coverity 89456
This commit is contained in:
parent
c743c30cb9
commit
43ed7dacc6
1 changed files with 3 additions and 2 deletions
|
@ -1510,9 +1510,10 @@ deletePaletteCB(
|
|||
|
||||
tmp_palette = pHeadPalette;
|
||||
|
||||
while( tmp_palette->item_position != selected_position &&
|
||||
tmp_palette != NULL)
|
||||
while( tmp_palette != NULL
|
||||
&& tmp_palette->item_position != selected_position ) {
|
||||
tmp_palette = tmp_palette->next;
|
||||
}
|
||||
|
||||
if (deleteDialog == NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue