1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Remove NULL initialisers in BackendVtables.

Backends were inconsistent about whether unused function members were
explicitly initialised to NULL or it was left to implicit static
initialisation. Standardise on the latter. No intended functional change.
This commit is contained in:
Jacob Nevins 2021-02-21 22:40:09 +00:00
parent 8eb4cd5674
commit ad3c907a62
2 changed files with 0 additions and 4 deletions

2
raw.c
View File

@ -323,8 +323,6 @@ const BackendVtable raw_backend = {
.provide_ldisc = raw_provide_ldisc,
.unthrottle = raw_unthrottle,
.cfg_info = raw_cfg_info,
.test_for_upstream = NULL,
.close_warn_text = NULL,
.id = "raw",
.displayname = "Raw",
.protocol = PROT_RAW,

View File

@ -421,8 +421,6 @@ const BackendVtable rlogin_backend = {
.provide_ldisc = rlogin_provide_ldisc,
.unthrottle = rlogin_unthrottle,
.cfg_info = rlogin_cfg_info,
.test_for_upstream = NULL,
.close_warn_text = NULL,
.id = "rlogin",
.displayname = "Rlogin",
.protocol = PROT_RLOGIN,