提交 58fea254 authored 作者: Chris Rienzo's avatar Chris Rienzo

CID: 1211946 mod_rayo - dead code after switch statement

上级 873acb29
......@@ -336,8 +336,7 @@ static const char *presence_status_to_string(enum presence_status status)
switch(status) {
case PS_OFFLINE: return "OFFLINE";
case PS_ONLINE: return "ONLINE";
case PS_UNKNOWN:
default: return "UNKNOWN";
case PS_UNKNOWN: return "UNKNOWN";
}
return "UNKNOWN";
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论