Avinash Sonawane
|
76a99a7fcd
|
Replace raw number by its name
PR #4373 <https://github.com/Genymobile/scrcpy/pull/4373>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-25 16:13:36 +02:00 |
|
 Avinash SonawaneandRomain Vimont
|
68b55ef2fe
|
Replace sprintf() with safer snprintf()
PR #4373 <https://github.com/Genymobile/scrcpy/pull/4373>
Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-25 16:13:34 +02:00 |
|
Avinash Sonawane
|
bc8913e12b
|
Use char * for pointer arithmetic
PR #4374 <https://github.com/Genymobile/scrcpy/pull/4374>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-24 23:12:36 +02:00 |
|
 Avinash SonawaneandRomain Vimont
|
8cef8bac94
|
Declare local functions as static
PR #4374 <https://github.com/Genymobile/scrcpy/pull/4374>
Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-24 23:06:57 +02:00 |
|
Avinash Sonawane
|
0bbe8a7007
|
Wrap macros in do-while(0)
To fix the warnings of stray `;`.
PR #4374 <https://github.com/Genymobile/scrcpy/pull/4374>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-24 22:58:33 +02:00 |
|
Avinash Sonawane
|
9ade389069
|
Make sc_usb_devices_destroy() static
It is only called from the implementation file.
PR #4371 <https://github.com/Genymobile/scrcpy/pull/4371>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-23 15:39:19 +02:00 |
|
Avinash Sonawane
|
90ba885547
|
Remove redundant ;
PR #4371 <https://github.com/Genymobile/scrcpy/pull/4371>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-23 15:09:26 +02:00 |
|
Avinash Sonawane
|
7adf98e9d4
|
Use void for empty function parameter list
PR #4371 <https://github.com/Genymobile/scrcpy/pull/4371>
Signed-off-by: Romain Vimont <rom@rom1v.com>
|
2023-10-23 15:07:24 +02:00 |
|