1
0
Fork 0
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:
Jon Trulson 2021-12-12 12:52:14 -07:00
parent 75ea7be520
commit ab409095d6
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;
} }