Sha*_*ain 6 ios cocoapods firebase
在更新到推荐的pod设置后,我在Xcode中收到警告.警告是
Possible misuse of comma operator here
Run Code Online (Sandbox Code Playgroud)
建议修复
Cast expression to void to silence warning
Run Code Online (Sandbox Code Playgroud)
警告发生在leveldb-library/db/c.cc的开始和限制键:
void leveldb_compact_range(
leveldb_t* db,
const char* start_key, size_t start_key_len,
const char* limit_key, size_t limit_key_len) {
Slice a, b;
db->rep->CompactRange(
// Pass NULL Slice if corresponding "const char*" is NULL
(start_key ? (a = Slice(start_key, start_key_len), &a) : NULL),
(limit_key ? (b = Slice(limit_key, limit_key_len), &b) : NULL));
}
Run Code Online (Sandbox Code Playgroud)
有没有其他人有同样的或知道是什么导致它?我正在运行Cocoapods 1.2.0.
| 归档时间: |
|
| 查看次数: |
2676 次 |
| 最近记录: |