Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Jul 19, 2023
1 parent 0e681eb commit 4ee8ecf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@

#include <assert.h>
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h> // for true
#include <stdio.h> // for fprintf, stderr
#include <stdlib.h>
Expand Down Expand Up @@ -484,9 +483,6 @@ item_type * test_create_itemtype(const char * name) {
}

void test_create_castorder(castorder *co, unit *u, int level, float force, int range, spellparameter *par) {
struct locale * lang;

lang = test_create_locale();
create_castorder(co, u, NULL, NULL, u->region, level, force, range, NULL, par);
}

Expand Down
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.9)
cmake_minimum_required(VERSION 3.5)
project (tools C)

add_executable(inifile inifile.c)
Expand Down

0 comments on commit 4ee8ecf

Please sign in to comment.