diff --git a/src/common/text.c b/src/common/text.c index 905a3ce9..719b8a84 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -2225,7 +2225,9 @@ sound_play (const char *file, gboolean quiet) { char *buf; char *wavfile; +#ifndef WIN32 char *cmd; +#endif /* the pevents GUI editor triggers this after removing a soundfile */ if (!file[0])