[balsa/wip/gmime3: 67/197] Drop unused call to uname
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gmime3: 67/197] Drop unused call to uname
- Date: Wed, 23 May 2018 21:18:00 +0000 (UTC)
commit 14bb52e547ff958bee6e4ff30dec87491641d48f
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 | 6 +++++-
libbalsa/libbalsa.c | 5 -----
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4586e1f..ea34fd1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,14 @@
+2017-08-29 Peter Bloomfield <pbloomfield bellsouth net>
+
+ * libbalsa/libbalsa.c (libbalsa_init): drop unused call to
+ uname.
+
2017-08-28 Peter Bloomfield <pbloomfield bellsouth net>
* libbalsa/send.c (lb_create_pubkey_part):
g_mime_part_set_content_object is deprecated in favor of
g_mime_part_set_content.
-
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 b4f4373..5569b7d 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(); /* Registers all GMime types */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]