summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-03 11:56:48 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-03 12:56:57 +0200
commit971755842da910036135891bc0530b2abcf56de5 (patch)
treed7009526b3ef4bf46a9f92c318cc39fa08d36c58
parent00cbbc87c7001b39885f82e095be6173c4f2431a (diff)
Remove unused increments as detect by LLVM's CLang static analyzer.
-rw-r--r--gst/gsturi.c2
-rw-r--r--gst/gstvalue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/gsturi.c b/gst/gsturi.c
index 44c8f45938..020cea9917 100644
--- a/gst/gsturi.c
+++ b/gst/gsturi.c
@@ -231,7 +231,7 @@ unescape_character (const char *scanner)
return -1;
}
- second_digit = hex_to_int (*scanner++);
+ second_digit = hex_to_int (*scanner);
if (second_digit < 0) {
return -1;
}
diff --git a/gst/gstvalue.c b/gst/gstvalue.c
index 0e4322de86..7286a97c11 100644
--- a/gst/gstvalue.c
+++ b/gst/gstvalue.c
@@ -1910,7 +1910,7 @@ gst_string_unwrap (const gchar * s)
goto beach;
/* null terminate result string and return */
- *write++ = '\0';
+ *write = '\0';
return ret;
beach: