]> git.proxmox.com Git - qemu.git/commit
audio: Fix warning from static code analysis
authorStefan Weil <sw@weilnetz.de>
Mon, 3 Sep 2012 09:25:16 +0000 (09:25 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 12 Oct 2012 02:44:20 +0000 (21:44 -0500)
commitb79ba45af114a5674a4790775502dbff26f6d3b7
tree07ff91d8333daff3a1eff5da40c241371db30800
parent75a44ae297b67aef5378f25fcf49b035e563b29b
audio: Fix warning from static code analysis

smatch report:
audio/audio_template.h:416 AUD_open_out(18) warn:
 variable dereferenced before check 'as' (see line 414)

Moving the ldebug statement after the statement which checks 'as'
fixes that warning.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 93b6599734f81328ee3d608f57667742cafeea72)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
audio/audio_template.h