提交 e57ce422 编写于 作者: W wangchengdong.wcd 提交者: yilu.myl

fix whitescan error

上级 0206000c
......@@ -1507,8 +1507,8 @@ static int32_t _core_mqtt_subunsub(core_mqtt_handle_t *mqtt_handle, char *topic,
pkt[idx++] = (uint8_t)((packet_id >> 8) & 0x00FF);
pkt[idx++] = (uint8_t)((packet_id) & 0x00FF);
if (_core_mqtt_5_feature_is_enabled(mqtt_handle)) {
_core_write_general_prop(pkt, &idx, general_property, property_len_array, property_len_offset);
if (_core_mqtt_5_feature_is_enabled(mqtt_handle) && NULL != general_property) {
_core_write_general_prop(pkt, &idx, general_property, property_len_array, property_len_offset);
}
/* Topic */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册