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