diff options
author | Jens Georg <mail@jensge.org> | 2022-06-05 14:23:25 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-06-05 14:23:25 +0200 |
commit | 3fc3a1b4eba60cc0e475723e3efe08f4dcf02f6f (patch) | |
tree | 712205b812cdb29f431c28e05e27d718189ea4d1 /examples | |
parent | 8b1e1d151bb59e3fa389d281030acaf24b25de78 (diff) | |
download | gupnp-3fc3a1b4eba60cc0e475723e3efe08f4dcf02f6f.tar.gz |
all: Coverity fixes
CID352971, CID352973, CID352974, CID352977, CID352980
Also sprinkle some coverity false-positive markers
Diffstat (limited to 'examples')
-rw-r--r-- | examples/get-volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/get-volume.c b/examples/get-volume.c index 9dbdac6..0413631 100644 --- a/examples/get-volume.c +++ b/examples/get-volume.c @@ -95,7 +95,7 @@ on_introspection (GObject *object, GAsyncResult *res, gpointer user_data) if (error != NULL) { g_critical ("%s", error->message); g_clear_error (&error); - } else { + } else if (out_values != NULL) { g_print ("Current volume: %s\n", g_value_get_string (out_values->data)); } |