Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
e9b807c1
Commit
e9b807c1
authored
Apr 14, 2013
by
Zbigniew Jędrzejewski-Szmek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bus: remove two unused variables
parent
ee6349a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/libsystemd-bus/test-bus-chat.c
src/libsystemd-bus/test-bus-chat.c
+1
-3
No files found.
src/libsystemd-bus/test-bus-chat.c
View file @
e9b807c1
...
...
@@ -49,8 +49,6 @@ static int object_callback(sd_bus *bus, int error, sd_bus_message *m, void *user
return
0
;
if
(
sd_bus_message_is_method_call
(
m
,
"org.object.test"
,
"Foobar"
))
{
_cleanup_bus_message_unref_
sd_bus_message
*
reply
=
NULL
;
log_info
(
"Invoked Foobar() on %s"
,
sd_bus_message_get_path
(
m
));
r
=
sd_bus_reply_method_return
(
bus
,
m
,
NULL
);
...
...
@@ -260,7 +258,7 @@ fail:
}
static
void
*
client1
(
void
*
p
)
{
_cleanup_bus_message_unref_
sd_bus_message
*
m
=
NULL
,
*
reply
=
NULL
;
_cleanup_bus_message_unref_
sd_bus_message
*
reply
=
NULL
;
sd_bus
*
bus
=
NULL
;
sd_bus_error
error
=
SD_BUS_ERROR_NULL
;
const
char
*
hello
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment