webrtc/examples
Benjamin Williams ab009c27b4 Refactor WebRTC self assignments in if clauses
This change refactors existing self-assignments within if clauses across
the WebRTC codebase.

*Why:*

- Bug Prevention: Assignments within conditionals are frequently
  unintended errors, often mistaken for equality checks.

- Clearer Code: Separating assignments from conditionals improves code
  readability and reduces the risk of misinterpretation.

Change-Id: I199dc26a35ceca109a2ac569b446811314dfdf0b
Bug: chromium:361594695
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/360460
Reviewed-by: Chuck Hays <haysc@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42850}
2024-08-26 15:56:43 +00:00
..
aarproject Remove dependency to android_support_test_runner in webrtc 2023-04-05 08:40:19 +00:00
androidapp Remove mentions of already deleted field trials 2023-03-01 15:53:37 +00:00
androidjunit Chromium LocalRobolectricTestRunner has been removed. 2023-04-24 11:26:11 +00:00
androidnativeapi Split SSL adapters from main ssl build target 1/2 2024-05-21 19:11:53 +00:00
androidtests Remove dependency to android_support_test_runner in webrtc 2023-04-05 08:40:19 +00:00
androidvoip Reland "Remove jni_zero type aliases in jni_generator_helper.h." 2024-08-13 10:01:01 +00:00
objc Refactor WebRTC self assignments in if clauses 2024-08-26 15:56:43 +00:00
objcnativeapi Move webrtc::AudioProcessing include to api/ folder 2024-04-20 07:02:50 +00:00
peerconnection Move webrtc::AudioDeviceModule include to api/ folder 2024-04-22 08:56:31 +00:00
stunprober Split "helpers" from SSL target to "crypto_random" and rename 2024-06-07 06:41:51 +00:00
stunserver Use rtc::ReceivedPacket in Stun and TurnServer 2023-11-23 10:40:56 +00:00
turnserver Adopt absl::string_view in p2p/ 2022-06-30 13:19:18 +00:00
BUILD.gn Split "helpers" from SSL target to "crypto_random" and rename 2024-06-07 06:41:51 +00:00
DEPS Remove +absl/flags exceptions from non root DEPS files. 2019-07-16 16:52:41 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00