summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 15:24:13 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-09 15:24:13 +0100
commitc3a2e0ad97b5d76788a26c1f243f236a2b2cebd3 (patch)
tree195b96bdc2308fa31fcc7604424b031d34f44aad
parent75c09f8d03a1b916df0c4f3b175a0ee7a63f7dd4 (diff)
camerabin2: remove unneeded check
A message may not be NULL in the message handling function (and nothing there sets it to NULL). Coverity 1139848
-rw-r--r--gst/camerabin2/gstcamerabin2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index 8e0806f17..e651a351c 100644
--- a/gst/camerabin2/gstcamerabin2.c
+++ b/gst/camerabin2/gstcamerabin2.c
@@ -1112,8 +1112,8 @@ gst_camera_bin_handle_message (GstBin * bin, GstMessage * message)
default:
break;
}
- if (message)
- GST_BIN_CLASS (parent_class)->handle_message (bin, message);
+
+ GST_BIN_CLASS (parent_class)->handle_message (bin, message);
if (dec_counter)
GST_CAMERA_BIN2_PROCESSING_DEC (camerabin);