diff options
-rw-r--r-- | logd/LogStatistics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 6e63015ac..273150e7d 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp @@ -309,7 +309,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const { if ((spaces <= 0) && pruned.length()) { spaces = 1; } - if ((spaces > 0) && (pruned.length() != 0)) { + if (spaces > 0) { change += android::base::StringPrintf("%*s", (int)spaces, ""); } pruned = change + pruned; |