diff options
author | 2015-08-04 11:25:59 -0700 | |
---|---|---|
committer | 2015-08-05 15:21:59 -0700 | |
commit | 53390e1e8c33ebee5bb8100e846f5263ba05ff73 (patch) | |
tree | 4557903adf281da7ec7132ffd473d7bd5d753bc2 /services/surfaceflinger/MessageQueue.cpp | |
parent | 7d226163cd03a455f8dd1133f6448826072f071d (diff) |
libgui/SF: Fix some code warnings
A couple of fixes to satisfy the Eclipse static code analysis tool.
- Initialize all members in constructors
- Remove unused forward declarations
- Add parentheses when combining logical and bitwise operators
- Fix a case statement with no break (it was intentional)
Change-Id: Icecb8cc98c6f58b97ab33fffb621f0edc33a7d3c
Diffstat (limited to 'services/surfaceflinger/MessageQueue.cpp')
-rw-r--r-- | services/surfaceflinger/MessageQueue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/MessageQueue.cpp b/services/surfaceflinger/MessageQueue.cpp index 1ad86a6aca..99efd3905f 100644 --- a/services/surfaceflinger/MessageQueue.cpp +++ b/services/surfaceflinger/MessageQueue.cpp @@ -119,6 +119,7 @@ void MessageQueue::waitMessage() { continue; case Looper::POLL_ERROR: ALOGE("Looper::POLL_ERROR"); + continue; case Looper::POLL_TIMEOUT: // timeout (should not happen) continue; |