Some tiny errors that slipped through Visual Studio's warnings.

This commit is contained in:
Enno Rehling 2014-08-14 09:59:33 +02:00
parent dafe71f4b8
commit ff73358b9c
3 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -391,8 +391,6 @@ static int cr_order(variant var, char *buffer, const void *userdata)
}
*wp++ = '\"';
*wp++ = 0;
free(cmd);
}
else
strcpy(buffer, "\"\"");

View File

@ -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);