mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Fix a couple of unused-comparison clang warnings
This commit is contained in:
parent
75ea7be520
commit
ab409095d6
2 changed files with 2 additions and 2 deletions
|
@ -1771,7 +1771,7 @@ populate_obj_menu(
|
||||||
* Set the label of the menu items to be the names of the ABObj's
|
* Set the label of the menu items to be the names of the ABObj's
|
||||||
*/
|
*/
|
||||||
for (i = 0, trav_open(&trav, parent, AB_TRAV_SALIENT_CHILDREN);
|
for (i = 0, trav_open(&trav, parent, AB_TRAV_SALIENT_CHILDREN);
|
||||||
i < num_items_needed, (cur_obj = trav_next(&trav)) != NULL; )
|
i < num_items_needed && (cur_obj = trav_next(&trav)) != NULL; )
|
||||||
{
|
{
|
||||||
char *label;
|
char *label;
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ ClosestTick(
|
||||||
* to see if the duration needs to be updated.
|
* to see if the duration needs to be updated.
|
||||||
*/
|
*/
|
||||||
if (re->re_duration == RE_NOTSET)
|
if (re->re_duration == RE_NOTSET)
|
||||||
(*res)->res_duration == RE_NOTSET;
|
(*res)->res_duration = RE_NOTSET;
|
||||||
|
|
||||||
return closest_tick;
|
return closest_tick;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue