From: Edgar E. Iglesias Date: Sat, 2 Oct 2010 11:04:49 +0000 (+0200) Subject: virtex: Add braces X-Git-Tag: v0.14.0-rc0~620 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b2e3dc939f289323a3f83b1ad64faa0865bf42b;p=thirdparty%2Fqemu.git virtex: Add braces Signed-off-by: Edgar E. Iglesias --- diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c index 2af3b81620a..c5bbedac7d2 100644 --- a/hw/virtex_ml507.c +++ b/hw/virtex_ml507.c @@ -157,8 +157,9 @@ static int xilinx_load_device_tree(target_phys_addr_t addr, fdt = load_device_tree(path, &fdt_size); qemu_free(path); } - if (!fdt) + if (!fdt) { return 0; + } } r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline);