fix warnings
This commit is contained in:
parent
63fd9dd698
commit
41d0b1a8e5
1 changed files with 2 additions and 2 deletions
4
server.c
4
server.c
|
@ -533,7 +533,7 @@ int handle_list_activatable_names(bus_t *s, int i, wire_message_t *msg, wire_con
|
|||
}
|
||||
|
||||
int handle_start_service_by_name(bus_t *s, int i, wire_message_t *msg, wire_context_t *ctx, wire_context_t *reply_ctx) {
|
||||
char *name = TRYPTR(wire_get_name_string(ctx));
|
||||
TRYPTR(wire_get_name_string(ctx));
|
||||
|
||||
/* unused flags value */
|
||||
TRYPTR(wire_get_u32(ctx));
|
||||
|
@ -558,7 +558,7 @@ int handle_add_match(bus_t *s, int i, wire_message_t *msg, wire_context_t *ctx,
|
|||
}
|
||||
|
||||
int handle_remove_match(bus_t *s, int i, wire_message_t *msg, wire_context_t *ctx, wire_context_t *reply_ctx) {
|
||||
char *match = TRYPTR(wire_get_string_check(ctx, 1, MATCH_RULE_MAX));
|
||||
TRYPTR(wire_get_string_check(ctx, 1, MATCH_RULE_MAX));
|
||||
|
||||
STUB("handle_remove_match", "does nothing and returns success");
|
||||
|
||||
|
|
Loading…
Reference in a new issue