1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed compiler warning in test_autocomplete.c

This commit is contained in:
James Booth 2013-08-26 14:47:40 +01:00
parent 545a23e92f
commit d2a354fd53

View File

@ -39,7 +39,6 @@ static void get_after_create_returns_null(void)
static void add_one_and_complete(void) static void add_one_and_complete(void)
{ {
char *item = "Hello";
Autocomplete ac = autocomplete_new(); Autocomplete ac = autocomplete_new();
autocomplete_add(ac, "Hello"); autocomplete_add(ac, "Hello");
char *result = autocomplete_complete(ac, "Hel"); char *result = autocomplete_complete(ac, "Hel");