From 27f84d1c0a2e4c2432281f25ef3026bb00bbdc15 Mon Sep 17 00:00:00 2001 From: Antenore Gatta Date: Sun, 9 Feb 2020 02:34:50 +0100 Subject: [PATCH] Removing struct declaration utsname as not used - Closes #2080 --- src/remmina_stats.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/remmina_stats.c b/src/remmina_stats.c index a6eb6f609..3b7cbf0bf 100644 --- a/src/remmina_stats.c +++ b/src/remmina_stats.c @@ -159,8 +159,6 @@ #endif #include "remmina_stats.h" -struct utsname u; - struct ProfilesData { GHashTable *proto_count; GHashTable *proto_date; @@ -864,9 +862,6 @@ JsonNode *remmina_stats_get_all() json_builder_set_member_name(b, "REMMINAVERSION"); json_builder_add_value(b, n); - if (uname(&u) == -1) - g_print("uname:"); - n = remmina_stats_get_os_info(); json_builder_set_member_name(b, "SYSTEM"); json_builder_add_value(b, n); -- 2.24.1