1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

json: fix compiler warning

This commit is contained in:
Steffen Vogel 2019-04-06 14:20:00 +02:00
parent d10f4e3b1f
commit 3a94319ad4

View file

@ -133,7 +133,8 @@ static int json_pack_sample(struct io *io, json_t **j, struct sample *smp)
);
break;
case SIGNAL_TYPE_INVALID: { }
case SIGNAL_TYPE_INVALID:
return -1;
}
json_array_append(json_data, json_value);