From 3cca6a7a9330e43e6d70c13710d957df0bff484b Mon Sep 17 00:00:00 2001 From: jakcron Date: Mon, 5 Jun 2017 11:27:23 +0800 Subject: [PATCH] [ctrtool] Fix uninitialised variable warning. --- ctrtool/cwav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctrtool/cwav.c b/ctrtool/cwav.c index cf9f59b..4b644d4 100644 --- a/ctrtool/cwav.c +++ b/ctrtool/cwav.c @@ -792,7 +792,7 @@ int cwav_pcm_setup(cwav_pcmstate* state, cwav_context* ctx, int isloop) { u32 channelcount = ctx->channelcount; u32 i; - u32 startoffset; + u32 startoffset = 0; if (ctx->channel == 0)