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:
parent
8c8649cfcd
commit
5b56900e2b
1 changed files with 0 additions and 2 deletions
|
@ -16,7 +16,6 @@ struct server {
|
||||||
uint16_t local_port;
|
uint16_t local_port;
|
||||||
bool tunnel_enabled;
|
bool tunnel_enabled;
|
||||||
bool tunnel_forward; // use "adb forward" instead of "adb reverse"
|
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 { \
|
#define SERVER_INITIALIZER { \
|
||||||
|
@ -28,7 +27,6 @@ struct server {
|
||||||
.local_port = 0, \
|
.local_port = 0, \
|
||||||
.tunnel_enabled = false, \
|
.tunnel_enabled = false, \
|
||||||
.tunnel_forward = false, \
|
.tunnel_forward = false, \
|
||||||
.send_frame_meta = false, \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// init default values
|
// init default values
|
||||||
|
|
Loading…
Reference in a new issue