summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
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;