]> git.proxmox.com Git - mirror_qemu.git/blobdiff - chardev/char-serial.c
CODING_STYLE: specify the indent rule for multiline code
[mirror_qemu.git] / chardev / char-serial.c
index 3299b4685307f8048c0d78e8f58633c26ecdc1e0..a8bae31b8dda416ffa7984b65d7b5c089978d91b 100644 (file)
@@ -57,7 +57,7 @@ static void qmp_chardev_open_serial(Chardev *chr,
 static void tty_serial_init(int fd, int speed,
                             int parity, int data_bits, int stop_bits)
 {
-    struct termios tty;
+    struct termios tty = {0};
     speed_t spd;
 
 #if 0