[balsa] Drop unused call to uname
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Drop unused call to uname
- Date: Tue, 29 Aug 2017 15:28:49 +0000 (UTC)
commit 1457c39b83a936f4bc8c8366be11a1fa3ef4ab92
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Aug 29 11:26:38 2017 -0400
Drop unused call to uname
* libbalsa/libbalsa.c (libbalsa_init): drop unused call to
uname.
ChangeLog | 5 +++++
libbalsa/libbalsa.c | 5 -----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5a65e03..f41ab64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-29 Peter Bloomfield <pbloomfield bellsouth net>
+
+ * libbalsa/libbalsa.c (libbalsa_init): drop unused call to
+ uname.
+
2017-08-22 Tony Nelson <tonynelson georgeanelson com>
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1483354,
diff --git a/libbalsa/libbalsa.c b/libbalsa/libbalsa.c
index 6ad2ada..bb1a8db 100644
--- a/libbalsa/libbalsa.c
+++ b/libbalsa/libbalsa.c
@@ -27,7 +27,6 @@
#include <string.h>
#include <stdlib.h>
-#include <sys/utsname.h>
#include <sys/stat.h>
#include <stdarg.h>
#include <unistd.h>
@@ -77,16 +76,12 @@ libbalsa_message(const char *fmt, ...)
void
libbalsa_init(LibBalsaInformationFunc information_callback)
{
- struct utsname utsname;
-
#ifdef HAVE_NOTIFY
notify_init("Basics");
#endif
main_thread_id = g_thread_self();
- uname(&utsname);
-
libbalsa_real_information_func = information_callback;
g_mime_init(GMIME_ENABLE_RFC2047_WORKAROUNDS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]