]> git.proxmox.com Git - mirror_qemu.git/commit - ui/cocoa.m
ui/cocoa.m: eliminate normalWindow warning
authorJohn Arbuckle <programmingkidx@gmail.com>
Tue, 13 Oct 2015 20:51:18 +0000 (21:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 13 Oct 2015 20:51:18 +0000 (21:51 +0100)
commita1dbc05a6f73e63ccfdd538c1825d44aa6347d8f
tree8a044738d9a624b9651bc8370bd22b9ba75786e7
parentc49d3411faae8ffaab8f7e5db47405a008411c10
ui/cocoa.m: eliminate normalWindow warning

Eliminate this warning associated with the setting of the normalWindow's title:

ui/cocoa.m: In function '-[QemuCocoaAppController init]':
ui/cocoa.m:888:9: warning: format not a string literal and no format arguments
 [-Wformat-security]
         [normalWindow setTitle:[NSString stringWithFormat:@"QEMU"]];

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 57057D6E-C108-4AE1-8370-E7E6855B2F2C@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m