summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-06-26 18:02:07 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-06-26 18:02:07 +0000
commit17814174f47a82d9b1d6f7d2411553cc34bd9858 (patch)
treebcfcc6fe2b747787abafaa64c20b379df2529aec
parent64737c86e16c67e702e496215fe00999ef340858 (diff)
From Patch #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046>
Remove redundant setting of ai to NULL. (Peter Breitenlohner)
-rw-r--r--ChangeLog6
-rw-r--r--main.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6eb4c51..bac387f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-26 Alan Coopersmith <alan.coopersmith@sun.com>
+
+ * di/pm.c:
+ From Patch #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046>
+ Remove redundant setting of ai to NULL. (Peter Breitenlohner)
+
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/main.c b/main.c
index 171be29..34040be 100644
--- a/main.c
+++ b/main.c
@@ -518,8 +518,6 @@ Bool swap;
hints.ai_flags = AI_CANONNAME;
if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) {
canonname = ai->ai_canonname;
- } else {
- ai = NULL;
}
}
#else