summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-command.c
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-06-23 22:21:03 +0200
committerColin Guthrie <colin@mageia.org>2011-06-24 00:34:05 +0100
commit5818a2c63e9a52a545b9c8eb6fdbfa24cfee822f (patch)
tree9d3d4c27d9dfedd4d3384e3559d01d673c042290 /src/pulsecore/cli-command.c
parent3adc43b8fe507e3140f7d6f9bab32584b9eadfa4 (diff)
win32: Make some unused-variable warnings go away
Diffstat (limited to 'src/pulsecore/cli-command.c')
-rw-r--r--src/pulsecore/cli-command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c
index e5c18065..16c76617 100644
--- a/src/pulsecore/cli-command.c
+++ b/src/pulsecore/cli-command.c
@@ -1574,8 +1574,10 @@ static int pa_cli_command_dump(pa_core *c, pa_tokenizer *t, pa_strbuf *buf, pa_b
pa_card *card;
pa_bool_t nl;
uint32_t idx;
- char txt[256];
time_t now;
+#ifdef HAVE_CTIME_R
+ char txt[256];
+#endif
pa_core_assert_ref(c);
pa_assert(t);