From ad3c907a62fd0e68c5218e671713116ef6498306 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 21 Feb 2021 22:40:09 +0000 Subject: [PATCH] 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. --- raw.c | 2 -- rlogin.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/raw.c b/raw.c index a601213e..0c454985 100644 --- a/raw.c +++ b/raw.c @@ -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, diff --git a/rlogin.c b/rlogin.c index 9e7a2359..2a3714e0 100644 --- a/rlogin.c +++ b/rlogin.c @@ -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,