unused variable

This commit is contained in:
Enno Rehling 2018-05-21 16:38:32 +02:00
parent e53a1caa08
commit 49178d8fc7

View file

@ -488,7 +488,6 @@ static void test_study_order_unknown_quoted(CuTest *tc) {
static void test_create_order_long(CuTest *tc) { static void test_create_order_long(CuTest *tc) {
char buffer[2048]; char buffer[2048];
order *ord; order *ord;
size_t len;
struct locale *lang; struct locale *lang;
stream out; stream out;
const char * longstr = "// BESCHREIBEN EINHEIT \"In weià ƒ ƒ ƒ ƒ ƒ ƒ &#" const char * longstr = "// BESCHREIBEN EINHEIT \"In weià ƒ ƒ ƒ ƒ ƒ ƒ &#"
@ -508,7 +507,6 @@ static void test_create_order_long(CuTest *tc) {
test_setup(); test_setup();
lang = test_create_locale(); lang = test_create_locale();
ord = parse_order(longstr, lang); ord = parse_order(longstr, lang);
len = strlen(longstr);
CuAssertIntEquals(tc, 0, ord->command); CuAssertIntEquals(tc, 0, ord->command);
mstream_init(&out); mstream_init(&out);
stream_order(&out, ord, lang, true); stream_order(&out, ord, lang, true);