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 $ROOT/$BIN_DIR/eressea/test_eressea
cd $ROOT cd $ROOT
$ROOT/$BIN_DIR/eressea/eressea -v0 scripts/run-tests.lua $ROOT/$BIN_DIR/eressea/eressea -v0 scripts/run-tests.lua
#grep ERROR eressea.log
cd $OLDWPD cd $OLDWPD

View File

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

View File

@ -52,7 +52,6 @@ extern "C" {
/* access functions for orders */ /* access functions for orders */
keyword_t getkeyword(const order * ord); keyword_t getkeyword(const order * ord);
void set_order(order ** destp, order * src); void set_order(order ** destp, order * src);
char *getcommand(const order * ord);
char* get_command(const order *ord, char *buffer, size_t size); char* get_command(const order *ord, char *buffer, size_t size);
bool is_persistent(const order * ord); bool is_persistent(const order * ord);
bool is_exclusive(const order * ord); bool is_exclusive(const order * ord);