Fix a couple of unused-comparison clang warnings
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user