gecko-dev/widget/gonk/libui
Nicholas Nethercote 8da254d570 Bug 1204518 - Fix warnings in widget/gonk/. r=mwu.
Warnings fixed include the following.

- Several cases where macros (|LOG| and |ALOGE|) were redefined. I just did a
  simple #undef to fix these.

- In GonkMemoryPressureMonitoring.cpp, "the address of NuwaMarkCurrentThread
  will never be NULL".

- In OrientationObserver.cpp, several signed/unsigned comparison warnings.

- Several warnings about variables that are unused or set but not used:
  in InputDispatcher.cpp, InputReader.cpp.

  Also in SpriteController, where several loops were all but empty if
  HAVE_ANDROID_OS is undefined; for these I moved the HAVE_ANDROID_OS check
  outside the loop.

The patch also disallows the introduction of new warnings by removing the
ALLOW_COMPILER_WARNINGS flag.

--HG--
extra : rebase_source : 6dc19235cf992b929d1308fd98baa03e16701874
2015-09-14 18:08:56 -07:00
..
EventHub.cpp
EventHub.h
Input.cpp
Input.h
InputApplication.cpp
InputApplication.h
InputDevice.cpp
InputDevice.h
InputDispatcher.cpp
InputDispatcher.h
InputListener.cpp
InputListener.h
InputManager.cpp
InputManager.h
InputReader.cpp
InputReader.h
InputTransport.cpp
InputTransport.h
InputWindow.cpp
InputWindow.h
KeyCharacterMap.cpp
KeyCharacterMap.h
KeyLayoutMap.cpp
KeyLayoutMap.h
Keyboard.cpp
Keyboard.h
KeycodeLabels.h
PointerController.cpp
PointerController.h
PowerManager.h
SpriteController.cpp
SpriteController.h
Tokenizer.cpp
Tokenizer.h
Trace.h
VelocityControl.cpp
VelocityControl.h
VelocityTracker.cpp
VelocityTracker.h
VirtualKeyMap.cpp
VirtualKeyMap.h
android_input.h
android_keycodes.h
cutils_log.h
cutils_trace.h
linux_input.h
sha1.c
sha1.h