From: Andre Noll Date: Sun, 6 Jul 2008 18:24:52 +0000 (+0200) Subject: Initialize stat_item_values[]. X-Git-Tag: v0.3.3~52^2~8 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=4173e7c1c653ec48e7676a2872ce9b4328a2fbcc;hp=074c45e88bca5e9d12d7905efb918843b5372e04 Initialize stat_item_values[]. Just to be sure.. --- diff --git a/audiod.c b/audiod.c index 76f07e8c..f0ce6258 100644 --- a/audiod.c +++ b/audiod.c @@ -67,7 +67,7 @@ struct slot_info slot[MAX_STREAM_SLOTS]; /** The array of status items sent by para_server. */ -char *stat_item_values[NUM_STAT_ITEMS]; +char *stat_item_values[NUM_STAT_ITEMS] = {NULL}; /** * the current mode of operation of which can be changed by the on/off/cycle