diff --git a/s/runtests b/s/runtests index 8a97f1060..b443476d3 100755 --- a/s/runtests +++ b/s/runtests @@ -18,5 +18,4 @@ fi $ROOT/$BIN_DIR/eressea/test_eressea cd $ROOT $ROOT/$BIN_DIR/eressea/eressea -v0 scripts/run-tests.lua -#grep ERROR eressea.log cd $OLDWPD diff --git a/src/creport.c b/src/creport.c index ab56ea196..c7beebc80 100644 --- a/src/creport.c +++ b/src/creport.c @@ -391,8 +391,6 @@ static int cr_order(variant var, char *buffer, const void *userdata) } *wp++ = '\"'; *wp++ = 0; - - free(cmd); } else strcpy(buffer, "\"\""); diff --git a/src/kernel/order.h b/src/kernel/order.h index c56e5ca82..8536dfc7b 100644 --- a/src/kernel/order.h +++ b/src/kernel/order.h @@ -52,7 +52,6 @@ extern "C" { /* access functions for orders */ keyword_t getkeyword(const order * ord); void set_order(order ** destp, order * src); - char *getcommand(const order * ord); char* get_command(const order *ord, char *buffer, size_t size); bool is_persistent(const order * ord); bool is_exclusive(const order * ord);