summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-03 11:52:49 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-03 12:56:48 +0200
commit00cbbc87c7001b39885f82e095be6173c4f2431a (patch)
tree3722058da1680522425cde648ff29db0cd56b2c6 /plugins
parent01166ec0cd11e91a463c3aed2366a1fb0ecbf578 (diff)
Remove unused variables detected by LLVM's Clang static analyzer.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/elements/gstidentity.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c
index 00d0f92f4f..8385ea2e52 100644
--- a/plugins/elements/gstidentity.c
+++ b/plugins/elements/gstidentity.c
@@ -432,11 +432,9 @@ gst_identity_check_imperfect_timestamp (GstIdentity * identity, GstBuffer * buf)
/* check if we had a previous buffer to compare to */
if (identity->prev_timestamp != GST_CLOCK_TIME_NONE &&
identity->prev_duration != GST_CLOCK_TIME_NONE) {
- guint64 offset;
GstClockTime t_expected;
GstClockTimeDiff dt;
- offset = GST_BUFFER_OFFSET (buf);
t_expected = identity->prev_timestamp + identity->prev_duration;
dt = GST_CLOCK_DIFF (t_expected, timestamp);
if (dt != 0) {