openbsd-ports/audio/umurmur/patches/patch-src_channel_c
dcoppa d3e40e14e0 Update to umurmur-0.2.8
From maintainer Jonathon Sisson, with tweaks by me
2011-10-30 16:05:35 +00:00

13 lines
482 B
Plaintext

$OpenBSD: patch-src_channel_c,v 1.2 2011/10/30 16:05:35 dcoppa Exp $
--- src/channel.c.orig Tue Oct 11 12:44:58 2011
+++ src/channel.c Sun Oct 30 16:33:19 2011
@@ -192,7 +192,7 @@ void Chan_init()
/* Channel links */
for (i = 0; ; i++) {
- channel_t *ch_src, *ch_dst, *ch_itr = NULL;
+ channel_t *ch_src = NULL, *ch_dst = NULL, *ch_itr = NULL;
if (Conf_getNextChannelLink(&chlink, i) < 0) {
if (i == 0)
Log_info("No channel links found in configuration file.");