summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2019-08-04 23:29:51 +0200
committermvglasow <michael -at- vonglasow.com>2019-08-04 23:29:51 +0200
commitf5a505e0406e16d21954e965a9fcf6ed97a61c9e (patch)
tree3e8c37a9ee821226421b4be1f4fd99627554129a
parent691dc5384a83f6bc4f8a6bc50f8aae8cd11ca721 (diff)
downloadnavit-f5a505e0406e16d21954e965a9fcf6ed97a61c9e.tar.gz
Refactor:traffic:Attrs passed to tm_item_add_message_data() can be NULL
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-rw-r--r--navit/traffic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/traffic.c b/navit/traffic.c
index a65d1616c..54b01d5fe 100644
--- a/navit/traffic.c
+++ b/navit/traffic.c
@@ -411,7 +411,7 @@ static int seg_data_equals(struct seg_data * l, struct seg_data * r) {
* @param msgid The message ID
* @param speed The maximum speed for the segment (`INT_MAX` if none given)
* @param delay The delay for the segment, in tenths of seconds (0 for none)
- * @param attrs Additional attributes specified by the message
+ * @param attrs Additional attributes specified by the message, can be NULL
* @param route The route affected by the changes
*
* @return true if data was changed, false if not