]> git.proxmox.com Git - mirror_qemu.git/commit - audio/audio_template.h
audio: Fix warning from static code analysis
authorStefan Weil <sw@weilnetz.de>
Mon, 3 Sep 2012 09:25:16 +0000 (09:25 +0000)
committermalc <av1474@comtv.ru>
Sat, 22 Sep 2012 21:34:16 +0000 (01:34 +0400)
commit93b6599734f81328ee3d608f57667742cafeea72
tree1ef2c32898eae56c16c6b88c0d4fbd99f490a487
parent04cbbdeefdda2615b11f7890f1e61b750e83129f
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>
audio/audio_template.h