diff options
author | Arseniy Antonov <arseniy.antonov@intel.com> | 2014-09-03 17:29:20 +0400 |
---|---|---|
committer | Arseniy Antonov <arseniy.antonov@intel.com> | 2014-09-03 17:29:20 +0400 |
commit | c3ce224c622e064207d1aff03f2440ca19617b4a (patch) | |
tree | 8ac074a20633a899930b8da1465003c4d98292fa /logd | |
parent | 35a76df583a07524bec5ccaae8082a00e0c06867 (diff) | |
download | core-c3ce224c622e064207d1aff03f2440ca19617b4a.tar.gz core-c3ce224c622e064207d1aff03f2440ca19617b4a.tar.bz2 core-c3ce224c622e064207d1aff03f2440ca19617b4a.zip |
Fix for parenthesis error
Added parentheses as it was suggested by compiler.
error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
Change-Id: Ic3746d9804488411d10d460ddfda11f1fad8efef
Signed-off-by: Arseniy Antonov <arseniy.antonov@intel.com>
Diffstat (limited to 'logd')
-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 81c9babb0..a2f27c641 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp @@ -524,7 +524,7 @@ void LogStatistics::format(char **buf, short spaces = 2; log_id_for_each(i) { - if (!logMask & (1 << i)) { + if (!(logMask & (1 << i))) { continue; } oldLength = string.length(); |