summaryrefslogtreecommitdiff
path: root/navit/command.c
diff options
context:
space:
mode:
authorjkoan <jkoan@gmx.de>2020-05-21 08:39:54 +0200
committerjkoan <jkoan@gmx.de>2020-05-28 15:46:24 +0200
commitaff19d0f140eea9545916687212378a810fa4ace (patch)
tree9c4b673cd1cff36614372bfc95387b69031143b6 /navit/command.c
parent9f85b14d396097addf4fa90fe9a4293d8a812dea (diff)
downloadnavit-aff19d0f140eea9545916687212378a810fa4ace.tar.gz
change:core:Reformat all files for ci check (even those i havent touched)
Diffstat (limited to 'navit/command.c')
-rw-r--r--navit/command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/command.c b/navit/command.c
index 032e0f887..cc498b1a7 100644
--- a/navit/command.c
+++ b/navit/command.c
@@ -1223,7 +1223,7 @@ static void command_evaluate_to(struct attr *attr, const char *expr, struct cont
}
enum attr_type command_evaluate_to_attr(struct attr *attr, char *expr, int *error, struct attr *ret) {
- struct result res={{0,},};
+ struct result res= {{0,},};
struct context ctx;
command_evaluate_to(attr, expr, &ctx, &res);
if (ctx.error)
@@ -1501,7 +1501,8 @@ void command_interpreter(struct attr *attr) {
}
#endif
-static void command_table_call(struct command_table *table, int count, void *data, char *command, struct attr **in, struct attr ***out, int *valid) {
+static void command_table_call(struct command_table *table, int count, void *data, char *command, struct attr **in,
+ struct attr ***out, int *valid) {
int i;
for (i = 0 ; i < count ; i++) {
if (!strcmp(command,table->command)) {