sound/null_s.c
author bjarni
Mon, 09 Oct 2006 21:42:18 +0000
changeset 4788 76ed308037b1
parent 2189 5cdc11ffeaa4
permissions -rw-r--r--
(svn r6709) -Fix r6679: [build train window] solved an issue that could lead to trailing empty blocks in the list array
Since they were freed with the rest of the array, it only meant that we wasted a few bytes (max 16) while the window were open and we didn't leak memory
/* $Id$ */

#include "../stdafx.h"
#include "../openttd.h"
#include "null_s.h"

static const char *NullSoundStart(const char * const *parm) { return NULL; }
static void NullSoundStop(void) {}

const HalSoundDriver _null_sound_driver = {
	NullSoundStart,
	NullSoundStop,
};