![]() The WebRTC C wrapper for the G711 codec doesn't actually use the 'state' argument, but declares one anyway for API uniformity. At the beginning of functions like WebRTCG711_EncodeA(), there's a stanza: // Set to avoid getting warnings state = NULL; This might work around an unused parameter warning, but under gcc 4.6.0 it ends up generating another warning, that state is set but not used. Casting the assignment to void silences the warning, restoring compilation under -Werror. Reported as https://code.google.com/p/webrtc/issues/detail?id=50 Review URL: http://webrtc-codereview.appspot.com/135002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@463 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
peerconnection | ||
src | ||
test/data | ||
third_party/libvpx | ||
third_party_mods | ||
tools | ||
android-webrtc.mk | ||
Android.mk | ||
AUTHORS | ||
codereview.settings | ||
DEPS | ||
libvpx.mk | ||
LICENSE | ||
license_template.txt | ||
LICENSE_THIRD_PARTY | ||
OWNERS | ||
PATENTS | ||
PRESUBMIT.py | ||
webrtc.gyp |