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
..
2024-02-23 23:57:11 +00:00
2024-08-21 09:11:46 +00:00
2022-12-06 12:09:23 +00:00
2024-05-23 15:09:46 +00:00
2024-05-23 15:09:46 +00:00
2024-08-26 15:56:43 +00:00
2024-06-19 08:40:36 +00:00
2024-08-13 15:28:34 +00:00
2024-08-26 11:11:43 +00:00
2024-07-29 07:17:14 +00:00
2024-08-22 10:37:00 +00:00
2024-05-23 15:09:46 +00:00
2024-08-16 14:34:37 +00:00
2023-01-31 11:58:43 +00:00
2023-01-31 11:58:43 +00:00
2024-07-29 07:17:14 +00:00
2024-07-29 07:17:14 +00:00
2024-03-13 11:08:37 +00:00
2023-02-15 17:26:07 +00:00
2023-04-13 13:59:46 +00:00
2023-04-13 13:59:46 +00:00
2024-04-30 08:47:29 +00:00
2023-08-15 13:20:21 +00:00
2023-08-15 13:20:21 +00:00
2024-04-17 12:53:30 +00:00
2024-04-17 12:53:30 +00:00
2022-10-24 09:12:30 +00:00
2022-10-24 09:12:30 +00:00
2024-03-13 11:08:37 +00:00
2023-08-30 10:38:35 +00:00
2024-07-03 12:27:55 +00:00
2024-07-03 12:27:55 +00:00
2024-07-02 14:15:52 +00:00
2024-04-16 08:43:09 +00:00
2024-03-13 11:08:37 +00:00
2024-03-13 11:08:37 +00:00
2023-08-30 10:38:35 +00:00
2024-04-12 07:42:48 +00:00
2024-04-16 08:43:09 +00:00
2024-04-12 07:42:48 +00:00
2023-04-13 13:59:46 +00:00
2024-08-01 14:38:52 +00:00
2024-07-24 09:30:22 +00:00
2022-10-07 14:30:31 +00:00
2023-02-17 13:20:32 +00:00
2023-02-27 14:19:04 +00:00
2024-03-13 11:08:37 +00:00
2022-10-07 14:30:31 +00:00
2024-08-16 14:34:37 +00:00
2024-04-30 11:15:05 +00:00
2024-04-30 11:15:05 +00:00
2023-08-15 13:20:21 +00:00
2023-08-15 13:20:21 +00:00
2023-06-21 17:46:33 +00:00
2023-03-25 21:35:23 +00:00
2024-03-13 11:08:37 +00:00
2024-06-07 09:47:26 +00:00
2024-08-16 14:34:37 +00:00
2024-07-11 13:15:01 +00:00
2024-02-07 09:47:16 +00:00
2023-08-15 13:20:21 +00:00
2023-08-15 13:20:21 +00:00
2023-08-15 13:20:21 +00:00
2023-12-13 16:10:11 +00:00
2023-08-15 13:20:21 +00:00
2023-08-15 13:20:21 +00:00
2024-08-01 16:17:09 +00:00
2024-04-23 12:28:46 +00:00
2023-01-03 11:22:17 +00:00
2023-01-03 11:22:17 +00:00
2023-10-10 08:59:10 +00:00
2024-01-19 10:04:54 +00:00
2022-08-25 13:01:34 +00:00
2022-08-25 13:01:34 +00:00
2022-10-24 09:12:30 +00:00
2022-10-24 09:12:30 +00:00
2023-10-10 08:59:10 +00:00
2023-10-10 08:59:10 +00:00
2024-05-08 10:15:10 +00:00
2022-11-22 11:03:33 +00:00
2023-06-21 17:46:33 +00:00
2023-06-21 17:46:33 +00:00
2023-03-25 21:35:23 +00:00
2023-06-21 17:46:33 +00:00
2024-06-03 20:19:56 +00:00
2024-07-30 18:17:27 +00:00
2024-05-14 11:36:42 +00:00
2024-02-23 13:09:44 +00:00
2024-03-18 18:51:47 +00:00
2024-03-18 18:51:47 +00:00
2023-09-20 09:25:32 +00:00