mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 05:54:20 +01:00
Rename unused field
The flag is used only in the server_start() implementation, there is no need to store it in the structure.
This commit is contained in:
@@ -16,7 +16,6 @@ struct server {
|
||||
uint16_t local_port;
|
||||
bool tunnel_enabled;
|
||||
bool tunnel_forward; // use "adb forward" instead of "adb reverse"
|
||||
bool send_frame_meta; // request frame PTS to be able to record properly
|
||||
};
|
||||
|
||||
#define SERVER_INITIALIZER { \
|
||||
@@ -28,7 +27,6 @@ struct server {
|
||||
.local_port = 0, \
|
||||
.tunnel_enabled = false, \
|
||||
.tunnel_forward = false, \
|
||||
.send_frame_meta = false, \
|
||||
}
|
||||
|
||||
// init default values
|
||||
|
||||
Reference in New Issue
Block a user