about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-08-26 14:47:40 +0100
committerJames Booth <boothj5@gmail.com>2013-08-26 14:47:40 +0100
commitd2a354fd5358e920aeab451ff3854222e124dff0 (patch)
tree8ebacf6cbbfb55278e6f564bfe2927a576dc037d
parent545a23e92f0b381f98276dd2bc1265cd1a88c81e (diff)
downloadprofani-tty-d2a354fd5358e920aeab451ff3854222e124dff0.tar.gz
Fixed compiler warning in test_autocomplete.c
-rw-r--r--tests/test_autocomplete.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_autocomplete.c b/tests/test_autocomplete.c
index beb18335..77525035 100644
--- a/tests/test_autocomplete.c
+++ b/tests/test_autocomplete.c
@@ -39,7 +39,6 @@ static void get_after_create_returns_null(void)
 
 static void add_one_and_complete(void)
 {
-    char *item = "Hello";
     Autocomplete ac = autocomplete_new();
     autocomplete_add(ac, "Hello");
     char *result = autocomplete_complete(ac, "Hel");