qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ea73f3: Fix build error when VNC is configure


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ea73f3: Fix build error when VNC is configured out
Date: Mon, 15 Jul 2019 05:10:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ea73f37062a9012a4f151f47f2427011b18569c8
      
https://github.com/qemu/qemu/commit/ea73f37062a9012a4f151f47f2427011b18569c8
  Author: Christophe de Dinechin <address@hidden>
  Date:   2019-07-15 (Mon, 15 Jul 2019)

  Changed paths:
    M monitor/hmp-cmds.c

  Log Message:
  -----------
  Fix build error when VNC is configured out

In hmp_change(), the variable hmp_mon is only used
by code under #ifdef CONFIG_VNC. This results in a build
error when VNC is configured out with the default of
treating warnings as errors:

monitor/hmp-cmds.c: In function ‘hmp_change’:
monitor/hmp-cmds.c:1946:17: error: unused variable ‘hmp_mon’ 
[-Werror=unused-variable]
1946 |     MonitorHMP *hmp_mon = container_of(mon, MonitorHMP, common);
     |                 ^~~~~~~

Signed-off-by: Christophe de Dinechin <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Dr. David Alan Gilbert <address@hidden>


  Commit: b9404bf592e7ba74180e1a54ed7a266ec6ee67f2
      
https://github.com/qemu/qemu/commit/b9404bf592e7ba74180e1a54ed7a266ec6ee67f2
  Author: Peter Maydell <address@hidden>
  Date:   2019-07-15 (Mon, 15 Jul 2019)

  Changed paths:
    M monitor/hmp-cmds.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20190715' into 
staging

HMP pull 2019-07-15

Just Christophe's build fix

# gpg: Signature made Mon 15 Jul 2019 12:13:54 BST
# gpg:                using RSA key 45F5C71B4A0CB7FB977A9FA90516331EBC5BFDE7
# gpg: Good signature from "Dr. David Alan Gilbert (RH2) <address@hidden>" 
[full]
# Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7

* remotes/dgilbert/tags/pull-hmp-20190715:
  Fix build error when VNC is configured out

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/298ad7b5a451...b9404bf592e7



reply via email to

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