Remove out-of-enum-range branch (LOG_ID_ANY).
Looks like a dead branch. This will block a future compiler upgrade.
```
system/logging/liblog/pmsg_reader.cpp:188:16: error: integer value -1 is outside the valid range of values [0, 21
47483647] for this enumeration type [-Wenum-constexpr-conversion]
if (logId != LOG_ID_ANY) {
^
system/logging/liblog/include/private/android_logger.h:129:21: note: expanded from macro 'LOG_ID_ANY'
#define LOG_ID_ANY ((log_id_t)-1)
^
1 error generated.
```
I checked all the callsites that kythe finds in cs.android.com, and none
of them call this function manually with a -1 paramater. I couldn't find
any other uses of LOG_ID_ANY. Prune this branch.
Found using a locally-built toolchain at tip-of-tree LLVM, which clearly
finds this with an improved diagnostic check.
Bug: N/A
Test: m libbufferhub
Change-Id: I527389573141c1887f64f22c983cc7ca4a323d73
2 files changed