浏览代码

tm: added braces around initializer of cancel reason map

- reported by Yacin Caner
Daniel-Constantin Mierla 10 年之前
父节点
当前提交
fc0e6275fa
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/tm/t_cancel.c

+ 2 - 2
modules/tm/t_cancel.c

@@ -43,8 +43,8 @@ typedef struct cancel_reason_map {
 } cancel_reason_map_t;
 
 static cancel_reason_map_t _cancel_reason_map[] = {
-	200, str_init("Answered elsewhere"),
-	0, {0, 0}
+	{ 200, str_init("Answered elsewhere") },
+	{ 0, {0, 0} }
 };
 
 /**