changeset 33345:c6b4a486c108

Remove unused variable.
author reimar
date Sat, 07 May 2011 21:01:38 +0000
parents 57d944b1a732
children 780f64c1ac7e
files stream/freesdp/parser.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/freesdp/parser.c	Sat May 07 20:55:21 2011 +0000
+++ b/stream/freesdp/parser.c	Sat May 07 21:01:38 2011 +0000
@@ -65,7 +65,7 @@
 {
   fsdp_error_t result;
   const char *p = text_description, *p2;
-  unsigned int index, j;
+  unsigned int j;
   /* temps for sscanf */
   const unsigned int TEMPCHARS = 6;
   char fsdp_buf[TEMPCHARS][MAXSHORTFIELDLEN];
@@ -252,7 +252,6 @@
     return FSDPE_MISSING_TIME;
   dsc->time_periods = calloc (dsc->time_periods_count,
 			      sizeof (fsdp_time_period_t *));
-  index = 0;
   for (j = 0; j < dsc->time_periods_count; j++)
   {
     unsigned int h = 0;