summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-04-27 23:28:24 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-04-27 23:28:24 +0200
commit7323f7c5618a37bbdf92ba3ea72d8921fb7195f7 (patch)
treee71effb092c1b0965a77abea9466599e69d8bc38 /src/common/text.c
parentc6513ea7a2dcb76194d63643f76b376e04a26f7f (diff)
Fix unused variable
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c2
1 files changed, 2 insertions, 0 deletions
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])