qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 93b659: audio: Fix warning from static code a


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 93b659: audio: Fix warning from static code analysis
Date: Sat, 22 Sep 2012 15:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 93b6599734f81328ee3d608f57667742cafeea72
      
https://github.com/qemu/qemu/commit/93b6599734f81328ee3d608f57667742cafeea72
  Author: Stefan Weil <address@hidden>
  Date:   2012-09-22 (Sat, 22 Sep 2012)

  Changed paths:
    M audio/audio_template.h

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: malc <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]