diff options
author | Joakim Karlsson <oakimk@gmail.com> | 2022-08-12 15:14:42 +0200 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2022-08-12 18:25:56 +0000 |
commit | abe78a4109102cb993c84feab20f6cd57ff56f62 (patch) | |
tree | 681ae9b86a35565c9f25346d57966aa857df7c48 /extcap | |
parent | 1337db5a18257a642e47def2cbcf172c9f81951a (diff) |
sshdump: may be used uninitialized in this function [-Wmaybe-uninitialized]
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/sshdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 298aa8c1f9..6a81de33fd 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -133,7 +133,7 @@ static ssh_channel run_ssh_command(ssh_session sshs, const char* capture_command const char* capture_command, const gboolean use_sudo, gboolean noprom, const char* iface, const char* cfilter, const guint32 count) { - gchar* cmdline; + gchar* cmdline = NULL; ssh_channel channel; char** ifaces_array = NULL; int ifaces_array_num = 0; |