Skip to content

Commit

Permalink
src/ibusservice: Fix unused variable
Browse files Browse the repository at this point in the history
ibusservice.c:676:9: warning: value computed is not used [-Wunused-value]
  676 |         *p++;

BUG=#2630
  • Loading branch information
jengelh authored and fujiwarat committed Apr 2, 2024
1 parent 68217a0 commit cd2cde9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ibusservice.c
Expand Up @@ -672,10 +672,8 @@ ibus_service_class_free_interfaces (IBusServiceClass *class,

g_array_ref (class->interfaces);
p = interfaces = (GDBusInterfaceInfo **)class->interfaces->data;
while (*p != NULL) {
*p++;
for (; *p != NULL; ++p)
total++;
}
if (!total)
return 0;
if (!depth)
Expand Down

0 comments on commit cd2cde9

Please sign in to comment.