Go to file
andrew@webrtc.org ffbe7a75fd Cast away the unused state argument value to silence gcc 4.6 warnings.
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
2011-08-26 17:16:30 +00:00
peerconnection Send the hangup message when asked to disconnect from a peer. 2011-08-26 13:20:41 +00:00
src Cast away the unused state argument value to silence gcc 4.6 warnings. 2011-08-26 17:16:30 +00:00
test/data Update fixed profile data due to AECM sqrt change (no presubmit). 2011-08-16 17:19:02 +00:00
third_party/libvpx Upgrading to libvpx 0.9.7-p1 (Cayuga) 2011-08-18 08:27:26 +00:00
third_party_mods Updated peerconnection_unittest slightly. Also added it to the build. 2011-08-25 23:01:40 +00:00
tools git-svn-id: http://webrtc.googlecode.com/svn/trunk@8 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-05-30 11:42:35 +00:00
android-webrtc.mk Some changes made in android makefile 2011-08-15 17:40:56 +00:00
Android.mk Enable protobuf for apm module 2011-08-05 22:20:03 +00:00
AUTHORS git-svn-id: http://webrtc.googlecode.com/svn/trunk@11 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-05-30 11:51:34 +00:00
codereview.settings git-svn-id: http://webrtc.googlecode.com/svn/trunk@11 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-05-30 11:51:34 +00:00
DEPS Roll gyp 985:1012 2011-08-25 18:45:51 +00:00
libvpx.mk Change android makefile to reflect recent file structure change 2011-07-13 17:49:49 +00:00
LICENSE git-svn-id: http://webrtc.googlecode.com/svn/trunk@11 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-05-30 11:51:34 +00:00
license_template.txt git-svn-id: http://webrtc.googlecode.com/svn/trunk@11 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-05-30 11:51:34 +00:00
LICENSE_THIRD_PARTY AEC specific version of " Real Discrete Fourier Transform". 2011-06-24 18:22:47 +00:00
OWNERS Review URL: http://webrtc-codereview.appspot.com/137002 2011-08-25 16:52:34 +00:00
PATENTS Modified patent grant 2011-05-31 22:47:37 +00:00
PRESUBMIT.py Adding owners check in presubmit script. 2011-06-09 07:07:24 +00:00
webrtc.gyp First version of the peerconnection client application for Linux. 2011-08-25 15:03:52 +00:00