summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-31 10:24:51 -0500
committerTingPing <tingping@tingping.se>2014-12-31 10:24:51 -0500
commit1fa4a000e7e1855e1d99bd6fbbb8067df8e90839 (patch)
tree38c6985be0f664828e6d55a0535dc3fb20958792 /src/common/text.c
parent448cc962cd019adc31e28eb4f96d3b1fad5d6efc (diff)
Fix some unused warnings
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/text.c b/src/common/text.c
index 0bee65be..729f18dd 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -1897,7 +1897,6 @@ pevt_build_string (const char *input, char **output, int *max_arg)
 		if (d == 'a')
 		{
 			/* Hex value */
-			x = 0;
 			if (ii == len)
 				goto a_len_error;
 			d = i[ii++];
@@ -1986,7 +1985,6 @@ pevt_build_string (const char *input, char **output, int *max_arg)
 		base = s;
 	if (last != NULL)
 		last->next = s;
-	last = s;
 	s->next = NULL;
 	s->data = g_malloc (1);
 	s->len = 1;