Commit 7a73b440 authored by Christian Kellner's avatar Christian Kellner

boltctl: config get: remove logically dead code

There is a check that assures 'val' is non-null, thus the same
check when printing 'val' can be omitted. CID 341491.
parent 254144b8
......@@ -129,7 +129,7 @@ property_get (BoltProxy *proxy, GParamSpec *spec, GError **error)
if (val == NULL)
return EXIT_FAILURE;
g_print ("%s\n", val ? : "");
g_print ("%s\n", val);
return EXIT_SUCCESS;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment